MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / copy

Method copy

lib/matplotlib/__init__.py:839–844  ·  view source on GitHub ↗

Copy this RcParams instance.

(self)

Source from the content-addressed store, hash-verified

837 )
838
839 def copy(self):
840 """Copy this RcParams instance."""
841 rccopy = self.__class__()
842 for k in self: # Skip deprecations and revalidation.
843 rccopy._set(k, self._get(k))
844 return rccopy
845
846
847def rc_params(fail_on_error=False):

Callers 2

__init__.pyFile · 0.45
rc_contextFunction · 0.45

Calls 2

_getMethod · 0.95
_setMethod · 0.80

Tested by

no test coverage detected