We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5a83668 + 47ea790 commit 7205b0eCopy full SHA for 7205b0e
.github/workflows/pytest.yml
@@ -15,7 +15,7 @@ jobs:
15
strategy:
16
fail-fast: false
17
matrix:
18
- python-version: ["3.8", "3.9", "3.10"]
+ python-version: ["3.10", "3.11"]
19
20
steps:
21
- uses: actions/checkout@v3
labellines/baseline/test_xylogspace.png
-720 Bytes
labellines/test.py
@@ -61,7 +61,7 @@ def test_xlogspace(setup_mpl):
61
62
@pytest.mark.mpl_image_compare
63
def test_xylogspace(setup_mpl):
64
- x = np.geomspace(1e-1, 1e1)
+ x = np.geomspace(0.1, 1e1)
65
K = np.arange(-5, 5, 2)
66
67
for k in K:
@@ -73,6 +73,9 @@ def test_xylogspace(setup_mpl):
73
plt.xlabel("$x$")
74
plt.ylabel("$f(x)$")
75
plt.ylim(1e-6, 1e6)
76
+ # We need to fix the xlims to prevent funky xlims
77
+ # see PR #115
78
+ plt.xlim(0.1 / 1.2, 1e1 * 1.2)
79
return plt.gcf()
80
81
0 commit comments