Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e37f718

Browse files
authored
Merge pull request #25984 from meeseeksmachine/auto-backport-of-pr-25982-on-v3.7.x
Backport PR #25982 on branch v3.7.x (Doc: Updates default value for nonpositve parameter for semilogx and semilogy)
2 parents 54e3f9a + 42dbd51 commit e37f718

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
@@ -1857,7 +1857,7 @@ def semilogx(self, *args, **kwargs):
18571857
are automatically chosen depending on the number of decades in the
18581858
plot. See `.Axes.set_xscale` for details.
18591859
1860-
nonpositive : {'mask', 'clip'}, default: 'mask'
1860+
nonpositive : {'mask', 'clip'}, default: 'clip'
18611861
Non-positive values in x can be masked as invalid, or clipped to a
18621862
very small positive number.
18631863
@@ -1904,7 +1904,7 @@ def semilogy(self, *args, **kwargs):
19041904
are automatically chosen depending on the number of decades in the
19051905
plot. See `.Axes.set_yscale` for details.
19061906
1907-
nonpositive : {'mask', 'clip'}, default: 'mask'
1907+
nonpositive : {'mask', 'clip'}, default: 'clip'
19081908
Non-positive values in y can be masked as invalid, or clipped to a
19091909
very small positive number.
19101910

0 commit comments

Comments
 (0)