You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason copy does not work with type TikzDocument, but does for something like TikzPicture and AxisLike objects. I think it is because the other axis elements are of OptionType. But was wondering if we could add a method so TikzDocument could be copied.
Edit: doing Base(td::TikzDocument) = deepcopy(td) seems to work. Let me know if this would be acceptable and I can cut a PR.
The text was updated successfully, but these errors were encountered:
For some reason
copy
does not work with type TikzDocument, but does for something like TikzPicture and AxisLike objects. I think it is because the other axis elements are of OptionType. But was wondering if we could add a method so TikzDocument could be copied.Edit: doing
Base(td::TikzDocument) = deepcopy(td)
seems to work. Let me know if this would be acceptable and I can cut a PR.The text was updated successfully, but these errors were encountered: