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

Method __init__

lib/matplotlib/widgets.py:3236–3243  ·  view source on GitHub ↗
(self, ax, x, y, *, marker='o', marker_props=None, useblit=True)

Source from the content-addressed store, hash-verified

3234 """
3235
3236 def __init__(self, ax, x, y, *, marker='o', marker_props=None, useblit=True):
3237 self.ax = ax
3238 props = {'marker': marker, 'markersize': 7, 'markerfacecolor': 'w',
3239 'linestyle': 'none', 'alpha': 0.5, 'visible': False,
3240 'label': '_nolegend_',
3241 **cbook.normalize_kwargs(marker_props, Line2D)}
3242 self._markers = Line2D(x, y, animated=useblit, **props)
3243 self.ax.add_line(self._markers)
3244
3245 @property
3246 def x(self):

Callers

nothing calls this directly

Calls 2

Line2DClass · 0.85
add_lineMethod · 0.80

Tested by

no test coverage detected