10000
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 5f0b714 commit b03e3b7Copy full SHA for b03e3b7
lib/matplotlib/tests/baseline_images/test_axes/secondary_xy.png
2.96 KB
lib/matplotlib/tests/test_axes.py
@@ -7229,6 +7229,7 @@ def invert(x):
7229
secax(0.4, functions=(lambda x: 2 * x, lambda x: x / 2))
7230
secax(0.6, functions=(lambda x: x**2, lambda x: x**(1/2)))
7231
secax(0.8)
7232
+ secax(6.25, transform=ax.transData)
7233
7234
7235
def test_secondary_fail():
@@ -7240,6 +7241,8 @@ def test_secondary_fail():
7240
7241
ax.secondary_xaxis('right')
7242
with pytest.raises(ValueError):
7243
ax.secondary_yaxis('bottom')
7244
+ with pytest.raises(ValueError):
7245
+ ax.secondary_xaxis(0.2, transform='error')
7246
7247
7248
def test_secondary_resize():
0 commit comments