Skip to content

Conversation

jonmmease
Copy link
Contributor

This PR adds support for deepcopy and pickle operations on figures and graph_objs.

This PR addresses:

This does not address the performance optimizations described in #1078. Support for pickle and deepcopy is added by implementing a __reduce__ method that simply calls the figure/graph_obj constructor with the dict representation of the object.

To lay a foundation for potential future optimization work, this PR also adds support for performing deepcopy on all validator classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant