Skip to content

copy does not work with type TikzDocument #320

@rs7q5

Description

@rs7q5

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions