|
From: <js...@us...> - 2007-08-30 15:32:27
|
Revision: 3759
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3759&view=rev
Author: jswhit
Date: 2007-08-30 08:32:25 -0700 (Thu, 30 Aug 2007)
Log Message:
-----------
better error message when matplotlib too old
Modified Paths:
--------------
trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py
Modified: trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py
===================================================================
--- trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py 2007-08-30 15:12:27 UTC (rev 3758)
+++ trunk/toolkits/basemap/lib/matplotlib/toolkits/basemap/basemap.py 2007-08-30 15:32:25 UTC (rev 3759)
@@ -4,7 +4,7 @@
mpl_required_version = '0.90'
if matplotlib_version < mpl_required_version:
raise ImportError('your matplotlib is too old - basemap '
- 'requires at least %s'%mpl_required_version)
+ 'requires at least %s, you have %s'%(mpl_required_version,matplotlib_version))
from matplotlib.collections import LineCollection
from matplotlib.patches import Ellipse, Circle, Polygon
from matplotlib.lines import Line2D
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|