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

Method __init__

lib/matplotlib/colorbar.py:127–130  ·  view source on GitHub ↗
(self, axes)

Source from the content-addressed store, hash-verified

125
126class _ColorbarSpine(mspines.Spine):
127 def __init__(self, axes):
128 self._ax = axes
129 super().__init__(axes, 'colorbar', mpath.Path(np.empty((0, 2))))
130 mpatches.Patch.set_transform(self, axes.transAxes)
131
132 def get_window_extent(self, renderer=None):
133 # This Spine has no Axis associated with it, and doesn't need to adjust

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
set_transformMethod · 0.45

Tested by

no test coverage detected