Thanks to visit codestin.com Credit goes to github.com
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 67ffdf7 commit 653052bCopy full SHA for 653052b
1 file changed
lib/matplotlib/tests/test_axes.py
@@ -35,6 +35,14 @@
35
# the tests with multiple threads.
36
37
38
+def test_get_labels():
39
+ fig, ax = plt.subplots()
40
+ ax.set_xlabel('x label')
41
+ ax.set_ylabel('y label')
42
+ assert ax.get_xlabel() == 'x label'
43
+ assert ax.get_ylabel() == 'y label'
44
+
45
46
@image_comparison(baseline_images=['formatter_ticker_001',
47
'formatter_ticker_002',
48
'formatter_ticker_003',
0 commit comments