I do not know if this is really necessary but the TikZ externalization library is more elegant and could provide more advanced options.
Log in to post a comment.