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 a32cb09

Browse filesBrowse files
committed
Make sure that loose version is used for version check
This fix is on 1.5.x but not on 2.x seems like something went wrong in the merge
1 parent 1512593 commit a32cb09
Copy full SHA for a32cb09

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_axes.py

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

8989
@image_comparison(baseline_images=["formatter_large_small"])
9090
def test_formatter_large_small():
91-
if tuple(map(int, np.__version__.split('.'))) >= (1, 11, 0):
91+
if LooseVersion(np.__version__) >= LooseVersion('1.11.0'):
9292
raise KnownFailureTest("Fall out from a fixed numpy bug")
9393
# github issue #617, pull #619
9494
fig, ax = plt.subplots(1)

0 commit comments

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