We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce1ead1 commit feaa882Copy full SHA for feaa882
lib/matplotlib/textpath.py
@@ -432,7 +432,7 @@ def _revalidate_path(self):
432
self._invalid = False
433
434
def __deepcopy__(self, memo):
435
- # taken from https://stackoverflow.com/a/15774013
+ """Update path and create deep copy."""
436
self._revalidate_path()
437
cls = self.__class__
438
new_instance = cls.__new__(cls)
@@ -444,7 +444,7 @@ def __deepcopy__(self, memo):
444
deepcopy = __deepcopy__
445
446
def __copy__(self):
447
+ """Update path and create shallow copy."""
448
449
450
0 commit comments