We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f73d58 commit 63659fdCopy full SHA for 63659fd
lib/matplotlib/tests/test_axes.py
@@ -7766,3 +7766,10 @@ def test_bezier_autoscale():
7766
# Bottom ylim should be at the edge of the curve (-0.5), and not include
7767
# the control point (at -1)
7768
assert ax.get_ylim()[0] == -0.5
7769
+
7770
7771
+def test_get_xticklabel():
7772
+ fig, ax = plt.subplots()
7773
+ ax.plot(np.arange(10))
7774
+ for ind in range(10):
7775
+ assert ax.get_xticklabels()[ind].get_text() == f'{ind}'
0 commit comments