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

Method copy_properties

lib/matplotlib/backend_bases.py:724–743  ·  view source on GitHub ↗

Copy properties from *gc* to self.

(self, gc)

Source from the content-addressed store, hash-verified

722 self._sketch = None
723
724 def copy_properties(self, gc):
725 """Copy properties from *gc* to self."""
726 self._alpha = gc._alpha
727 self._forced_alpha = gc._forced_alpha
728 self._antialiased = gc._antialiased
729 self._capstyle = gc._capstyle
730 self._cliprect = gc._cliprect
731 self._clippath = gc._clippath
732 self._dashes = gc._dashes
733 self._joinstyle = gc._joinstyle
734 self._linestyle = gc._linestyle
735 self._linewidth = gc._linewidth
736 self._rgb = gc._rgb
737 self._hatch = gc._hatch
738 self._hatch_color = gc._hatch_color
739 self._hatch_linewidth = gc._hatch_linewidth
740 self._url = gc._url
741 self._gid = gc._gid
742 self._snap = gc._snap
743 self._sketch = gc._sketch
744
745 def restore(self):
746 """

Callers 5

draw_pathMethod · 0.45
draw_pathMethod · 0.45
draw_pathMethod · 0.45
draw_pathMethod · 0.45
_iter_collectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected