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

Skip to content

Commit 92e69e1

Browse files
committed
Clarify docstring for linthresh keyword arg
The linthreshx/y keyword argument for the SymmetricalLogScale class could have been misunderstood as accepting a tuple. Added some words to make sure this is completely obvious when reading the documentation.
1 parent f53be2f commit 92e69e1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/scale.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,9 @@ def __init__(self, axis, **kwargs):
358358
The base of the logarithm
359359
360360
*linthreshx*/*linthreshy*:
361-
The range (-*x*, *x*) within which the plot is linear (to
362-
avoid having the plot go to infinity around zero).
361+
A single float which defines the range (-*x*, *x*), within
362+
which the plot is linear. This avoids having the plot go to
363+
infinity around zero.
363364
364365
*subsx*/*subsy*:
365366
Where to place the subticks between each major tick.

0 commit comments

Comments
 (0)