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 1fc5591

Browse filesBrowse files
committed
fix: make "bad plot" test fail because fix isn't implemented yet
"classic_mode" had to be disabled for the test to successfully replicate the normal behavior of matplotlib. Now the test produces an empty list, which is what should be fixed.
1 parent da5796c commit 1fc5591
Copy full SHA for 1fc5591

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎lib/matplotlib/tests/test_ticker.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_ticker.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ def test_tick_values_correct(self):
249249
assert_array_equal(ll.tick_values(1, 1e7), test_value)
250250

251251
def test_tick_values_not_empty(self):
252+
mpl.rcParams['_internal.classic_mode'] = False
252253
ll = mticker.LogLocator(subs=(1, 2, 5))
253254
test_value = np.array([1.e-01, 2.e-01, 5.e-01, 1.e+00, 2.e+00, 5.e+00,
254255
1.e+01, 2.e+01, 5.e+01, 1.e+02, 2.e+02, 5.e+02,

0 commit comments

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