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 66061ad

Browse filesBrowse files
axis.formatter.useoffset is still honored, however, it is not directly returned by get_useOffset(). get_useOffset() returns whether an offset has been set either by the user or by _set_offset()
1 parent 681820f commit 66061ad
Copy full SHA for 66061ad

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎lib/matplotlib/tests/test_ticker.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_ticker.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def test_logformatter_pprint():
351351

352352

353353
def test_use_offset():
354-
for use_offset in [True, False]:
354+
for use_offset in [False]:
355355
with matplotlib.rc_context({'axes.formatter.useoffset': use_offset}):
356356
tmp_form = mticker.ScalarFormatter()
357357
nose.tools.assert_equal(use_offset, tmp_form.get_useOffset())

0 commit comments

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