8000 better error message when matplotlib too old · matplotlib/basemap@ffefb67 · GitHub
[go: up one dir, main page]

Skip to content

Commit ffefb67

Browse files
author
Jeff Whitaker
committed
better error message when matplotlib too old
svn path=/trunk/toolkits/basemap/; revision=3759
1 parent a215008 commit ffefb67
CA2E

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/toolkits/basemap/basemap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
mpl_required_version = '0.90'
55
if matplotlib_version < mpl_required_version:
66
raise ImportError('your matplotlib is too old - basemap '
7-
'requires at least %s'%mpl_required_version)
7+
'requires at least %s, you have %s'%(mpl_required_version,matplotlib_version))
88
from matplotlib.collections import LineCollection
99
from matplotlib.patches import Ellipse, Circle, Polygon
1010
from matplotlib.lines import Line2D

0 commit comments

Comments
 (0)
0