Revision: 5969
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5969&view=rev
Author: jswhit
Date: 2008-08-04 16:42:04 +0000 (Mon, 04 Aug 2008)
Log Message:
-----------
raise error if barb method used with matplotlib < 0.98.3
Modified Paths:
--------------
trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py
Modified: trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py
===================================================================
--- trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2008-08-04
16:25:07 UTC (rev 5968)
+++ trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2008-08-04
16:42:04 UTC (rev 5969)
@@ -2913,6 +2913,11 @@
Returns two matplotlib.axes.Barbs instances, one for the Northern
Hemisphere and one for the Southern Hemisphere.
"""
+ if _matplotlib_version < '0.98.3':
+ msg = dedent("""
+ barb method requires matplotlib 0.98.3 or higher,
+ you have %s""" % _matplotlib_version)
+ raise NotImplementedError(msg)
if not kwargs.has_key('ax') and self.ax is None:
try:
ax = plt.gca()
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins