MCPcopy
hub / github.com/matplotlib/matplotlib / test_Axes

Function test_Axes

lib/mpl_toolkits/axisartist/tests/test_axislines.py:45–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43
44
45def test_Axes():
46 fig = plt.figure()
47 ax = Axes(fig, [0.15, 0.1, 0.65, 0.8])
48 fig.add_axes(ax)
49 ax.plot([1, 2, 3], [0, 1, 2])
50 ax.set_xscale('log')
51 fig.canvas.draw()
52
53
54@image_comparison(['ParasiteAxesAuxTrans_meshplot.png'],

Callers

nothing calls this directly

Calls 6

plotMethod · 0.95
AxesClass · 0.90
figureMethod · 0.80
add_axesMethod · 0.80
set_xscaleMethod · 0.80
drawMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…