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

Function plot_markers

lib/matplotlib/tests/test_determinism.py:29–37  ·  view source on GitHub ↗
(fig)

Source from the content-addressed store, hash-verified

27 mpl.rcParams.update({'svg.hashsalt': 'asdf', 'text.usetex': usetex})
28
29 def plot_markers(fig):
30 # use different markers...
31 ax = fig.add_subplot()
32 x = range(10)
33 ax.plot(x, [1] * 10, marker='D')
34 ax.plot(x, [2] * 10, marker='x')
35 ax.plot(x, [3] * 10, marker='^')
36 ax.plot(x, [4] * 10, marker='H')
37 ax.plot(x, [5] * 10, marker='v')
38
39 def plot_hatch(fig):
40 # also use different hatch patterns

Callers 1

_save_figureFunction · 0.85

Calls 2

add_subplotMethod · 0.80
plotMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…