Skip to content

COMPAT: matplotlib 1.4.0 version compat (GH8502) #8504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 7, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pandas/tests/test_graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _skip_if_mpl_14_or_dev_boxplot():
# Boxplot failures on 1.4 and 1.4.1
# Don't need try / except since that's done at class level
import matplotlib
if matplotlib.__version__ >= LooseVersion('1.4'):
if str(matplotlib.__version__) >= LooseVersion('1.4'):
raise nose.SkipTest("Matplotlib Regression in 1.4 and current dev.")


Expand Down Expand Up @@ -72,7 +72,7 @@ def setUp(self):
'weight': random.normal(161, 32, size=n),
'category': random.randint(4, size=n)})

if mpl.__version__ >= LooseVersion('1.4'):
if str(mpl.__version__) >= LooseVersion('1.4'):
self.bp_n_objects = 7
else:
self.bp_n_objects = 8
Expand Down