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

Function test_get_labels

lib/matplotlib/tests/test_axes.py:61–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59
60
61def test_get_labels():
62 fig, ax = plt.subplots()
63 ax.set_xlabel('x label')
64 ax.set_ylabel('y label')
65 assert ax.get_xlabel() == 'x label'
66 assert ax.get_ylabel() == 'y label'
67
68
69def test_repr():

Callers

nothing calls this directly

Calls 5

set_xlabelMethod · 0.80
set_ylabelMethod · 0.80
get_xlabelMethod · 0.80
get_ylabelMethod · 0.80
subplotsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…