Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 39cdf5d

Browse filesBrowse 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
Copy full SHA for 39cdf5d

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+2-2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.