Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ea2d21b

Browse filesBrowse files
committed
TST: simple test
1 parent 5ed0538 commit ea2d21b
Copy full SHA for ea2d21b

File tree

Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed

‎lib/matplotlib/tests/test_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_axes.py
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7766,3 +7766,10 @@ def test_bezier_autoscale():
77667766
# Bottom ylim should be at the edge of the curve (-0.5), and not include
77677767
# the control point (at -1)
77687768
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

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.