8000 Merge pull request #25982 from pettza/fix-docs · matplotlib/matplotlib@39cdf5d · GitHub
[go: up one dir, main page]

Skip to content

Commit 39cdf5d

Browse files
authored
Merge pull request #25982 from pettza/fix-docs
Doc: Updates default value for nonpositve parameter for semilogx and semilogy
2 parents 28a0205 + cc209aa commit 39cdf5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,7 +1892,7 @@ def semilogx(self, *args, **kwargs):
18921892
are automatically chosen depending on the number of decades in the
18931893
plot. See `.Axes.set_xscale` for details.
18941894
1895-
nonpositive : {'mask', 'clip'}, default: 'mask'
1895+
nonpositive : {'mask', 'clip'}, default: 'clip'
18961896
Non-positive values in x can be masked as invalid, or clipped to a
18971897
very small positive number.
18981898
@@ -1939,7 +1939,7 @@ def semilogy(self, *args, **kwargs):
19391939
are automatically chosen depending on the number of decades in the
19401940
plot. See `.Axes.set_yscale` for details.
19411941
1942-
nonpositive : {'mask', 'clip'}, default: 'mask'
1942+
nonpositive : {'mask', 'clip'}, default: 'clip'
19431943
Non-positive values in y can be masked as invalid, or clipped to a
19441944
very small positive number.
19451945

0 commit comments

Comments
 (0)
0