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

Method _setup_edge_handles

lib/matplotlib/widgets.py:2849–2858  ·  view source on GitHub ↗
(self, props)

Source from the content-addressed store, hash-verified

2847 self._selection_artist = rect_artist
2848
2849 def _setup_edge_handles(self, props):
2850 # Define initial position using the axis bounds to keep the same bounds
2851 if self.direction == 'horizontal':
2852 positions = self.ax.get_xbound()
2853 else:
2854 positions = self.ax.get_ybound()
2855 self._edge_handles = ToolLineHandles(self.ax, positions,
2856 direction=self.direction,
2857 line_props=props,
2858 useblit=self._useblit)
2859
2860 @property
2861 def _handles_artists(self):

Callers 2

__init__Method · 0.95
directionMethod · 0.95

Calls 3

ToolLineHandlesClass · 0.85
get_xboundMethod · 0.80
get_yboundMethod · 0.80

Tested by

no test coverage detected