Revision: 4350
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4350&view=rev
Author:   jswhit
Date:     2007-11-17 05:22:47 -0800 (Sat, 17 Nov 2007)

Log Message:
-----------
raise exception if width, height keywords used with omerc.

Modified Paths:
--------------
    trunk/toolkits/basemap-testing/lib/matplotlib/toolkits/basemap/basemap.py

Modified: 
trunk/toolkits/basemap-testing/lib/matplotlib/toolkits/basemap/basemap.py
===================================================================
--- trunk/toolkits/basemap-testing/lib/matplotlib/toolkits/basemap/basemap.py   
2007-11-17 13:08:05 UTC (rev 4349)
+++ trunk/toolkits/basemap-testing/lib/matplotlib/toolkits/basemap/basemap.py   
2007-11-17 13:22:47 UTC (rev 4350)
@@ -541,7 +541,7 @@
             projparams['lon_2'] = lon_2
             if None in [llcrnrlon,llcrnrlat,urcrnrlon,urcrnrlat]:
                 if width is None or height is None:
-                    raise ValueError, 'must either specify lat/lon values of 
corners (llcrnrlon,llcrnrlat,ucrnrlon,urcrnrlat) in degrees or width and height 
in meters'
+                    raise ValueError, 'cannot specify map region with width 
and height keywords for this projection, please specify lat/lon values of 
corners'
                 else:
                     if lon_0 is None or lat_0 is None:
                         raise ValueError, 'must specify lon_0 and lat_0 when 
using width, height to specify projection region'


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to