8000
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 63e1c1b commit a378128Copy full SHA for a378128
lib/matplotlib/tests/test_axes.py
@@ -3508,6 +3508,15 @@ def test_color_None():
3508
def test_numerical_hist_label():
3509
fig, ax = plt.subplots()
3510
ax.hist([range(15)] * 5, label=range(5))
3511
+
3512
+@cleanup
3513
+def test_move_offsetlabel():
3514
+ data = np.random.random(10) * 1e-22
3515
+ fig, ax = plt.subplots()
3516
+ ax.plot(data)
3517
+ ax.yaxis.set_label_position('right')
3518
+ ax.yaxis.tick_right()
3519
+ assert_equal((1, 0.5), ax.yaxis.offsetText.get_position())
3520
3521
if __name__ == '__main__':
3522
import nose
0 commit comments