MCPcopy
hub / github.com/matplotlib/matplotlib / test_axes3d_repr

Function test_axes3d_repr

lib/mpl_toolkits/mplot3d/tests/test_axes3d.py:106–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104
105
106def test_axes3d_repr():
107 fig = plt.figure()
108 ax = fig.add_subplot(projection='3d')
109 ax.set_label('label')
110 ax.set_title('title')
111 ax.set_xlabel('x')
112 ax.set_ylabel('y')
113 ax.set_zlabel('z')
114 assert repr(ax) == (
115 "<Axes3D: label='label', "
116 "title={'center': 'title'}, xlabel='x', ylabel='y', zlabel='z'>")
117
118
119@mpl3d_image_comparison(['axes3d_primary_views.png'], style='mpl20',

Callers

nothing calls this directly

Calls 7

figureMethod · 0.80
add_subplotMethod · 0.80
set_xlabelMethod · 0.80
set_ylabelMethod · 0.80
set_zlabelMethod · 0.80
set_labelMethod · 0.45
set_titleMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…