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

Method set_marker

lib/matplotlib/lines.py:1216–1227  ·  view source on GitHub ↗

Set the line marker. Parameters ---------- marker : marker style string, `~.path.Path` or `~.markers.MarkerStyle` See `~matplotlib.markers` for full description of possible arguments.

(self, marker)

Source from the content-addressed store, hash-verified

1214
1215 @_docstring.interpd
1216 def set_marker(self, marker):
1217 """
1218 Set the line marker.
1219
1220 Parameters
1221 ----------
1222 marker : marker style string, `~.path.Path` or `~.markers.MarkerStyle`
1223 See `~matplotlib.markers` for full description of possible
1224 arguments.
1225 """
1226 self._marker = MarkerStyle(marker, self._marker.get_fillstyle())
1227 self.stale = True
1228
1229 def _set_markercolor(self, name, has_rcdefault, val):
1230 if val is None:

Callers 9

set_fillstyleMethod · 0.95
create_artistsMethod · 0.95
_create_lineMethod · 0.95
create_artistsMethod · 0.95
_tick_update_positionFunction · 0.80
_apply_tickdirMethod · 0.80
_apply_tickdirMethod · 0.80
apply_callbackFunction · 0.80

Calls 2

MarkerStyleClass · 0.85
get_fillstyleMethod · 0.45

Tested by 1