Skip to content

Commit c0a31f0

Browse files
jklymaktimhoffm
andauthored
Update lib/matplotlib/testing/decorators.py
Co-authored-by: Tim Hoffmann <[email protected]>
1 parent f34ccb9 commit c0a31f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/testing/decorators.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def remove_ticks_and_titles(figure):
112112
figure.suptitle("")
113113
null_formatter = ticker.NullFormatter()
114114
def remove_ticks(ax):
115+
"""Remove ticks in *ax* and all its child Axes."""
115116
ax.set_title("")
116117
ax.xaxis.set_major_formatter(null_formatter)
117118
ax.xaxis.set_minor_formatter(null_formatter)

0 commit comments

Comments
 (0)