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 ab1b3a2

Browse filesBrowse files
Ticket 4376: Added more information in signature of the functions
1 parent 137c7aa commit ab1b3a2
Copy full SHA for ab1b3a2

File tree

Expand file treeCollapse file tree

1 file changed

+8
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-4
lines changed

‎lib/matplotlib/ticker.py

Copy file name to clipboardExpand all lines: lib/matplotlib/ticker.py
+8-4Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,9 @@ def get_useScalingFactor(self):
446446

447447
def set_useScalingFactor(self,val):
448448
"""
449-
Enable or disable the use of scaling factor in the axis.
449+
Takes (True|False|numeric value) as argument.
450+
Enable, disable, or sets and enables the use of scaling factor
451+
in the axis.
450452
Note that either offset or scaling can be used. Therefore,
451453
this automatically turns off offset
452454
"""
@@ -469,9 +471,11 @@ def get_useOffset(self):
469471

470472
def set_useOffset(self, val):
471473
"""
472-
Enable or disable the use of offset in the axis or enable & set the offset
473-
at the same time. Since offset cannot be used in conjunction with a scaling
474-
factor, the scaling factor is turned off.
474+
Takes (True|False|numeric value) as argument.
475+
Enable, disable, or sets and enables the use of an offset
476+
in the axis.
477+
Note that either offset or scaling can be used. Therefore,
478+
this automatically turns off scaling factor
475479
"""
476480
if val in [True, False]:
477481
self.offsetval = 0

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.