You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(115) |
Aug
(120) |
Sep
(137) |
Oct
(170) |
Nov
(461) |
Dec
(263) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(120) |
Feb
(74) |
Mar
(35) |
Apr
(74) |
May
(245) |
Jun
(356) |
Jul
(240) |
Aug
(115) |
Sep
(78) |
Oct
(225) |
Nov
(98) |
Dec
(271) |
2009 |
Jan
(132) |
Feb
(84) |
Mar
(74) |
Apr
(56) |
May
(90) |
Jun
(79) |
Jul
(83) |
Aug
(296) |
Sep
(214) |
Oct
(76) |
Nov
(82) |
Dec
(66) |
2010 |
Jan
(46) |
Feb
(58) |
Mar
(51) |
Apr
(77) |
May
(58) |
Jun
(126) |
Jul
(128) |
Aug
(64) |
Sep
(50) |
Oct
(44) |
Nov
(48) |
Dec
(54) |
2011 |
Jan
(68) |
Feb
(52) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
1
(4) |
2
|
3
|
4
(2) |
5
(3) |
6
(1) |
7
(3) |
8
(7) |
9
(2) |
10
(1) |
11
(3) |
12
|
13
|
14
(3) |
15
|
16
(4) |
17
(4) |
18
(1) |
19
|
20
(1) |
21
(3) |
22
(2) |
23
(2) |
24
(1) |
25
|
26
|
27
(3) |
28
|
29
|
30
|
|
|
Revision: 8685 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8685&view=rev Author: jswhit Date: 2010年09月07日 23:15:27 +0000 (2010年9月07日) Log Message: ----------- make removemeridians, removeparallels work interactively 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 2010年09月07日 17:54:01 UTC (rev 8684) +++ trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2010年09月07日 23:15:27 UTC (rev 8685) @@ -2017,7 +2017,7 @@ if v == ([], []): del linecolls[k] return linecolls - def removeparallels(self,pdict,lat=None): + def removeparallels(self,pdict,lat=None,ax=None): """ Given a dictionary returned by :meth:`Basemap.drawparallels`, remove parallels (latitude lines) and associated labels from the map. @@ -2029,6 +2029,7 @@ ============== ==================================================== lat latitude value to remove (Default None, removes all of them) + ax axes instance (overrides default axes instance) ============== ==================================================== """ if lat is not None and lat not in pdict.keys(): @@ -2038,7 +2039,16 @@ tup = pdict[key] for item in tup: for x in item: - x.remove() + try: + x.remove() + # might already be removed, if so + # don't do anything (exit silently). + except ValueError: + pass + # get current axes instance (if none specified). + ax = ax or self._check_ax() + # set axes limits to fit map region. + self.set_axes_limits(ax=ax) def drawmeridians(self,meridians,color='k',linewidth=1., zorder=None,\ dashes=[1,1],labels=[0,0,0,0],labelstyle=None,\ @@ -2295,6 +2305,7 @@ ============== ==================================================== lon longitude value to remove (Default None, removes all of them) + ax axes instance (overrides default axes instance) ============== ==================================================== """ if lon is not None and lon not in mdict.keys(): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 8684 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8684&view=rev Author: jswhit Date: 2010年09月07日 17:54:01 +0000 (2010年9月07日) Log Message: ----------- Add link in docstring. 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 2010年09月07日 17:49:56 UTC (rev 8683) +++ trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2010年09月07日 17:54:01 UTC (rev 8684) @@ -2019,8 +2019,8 @@ def removeparallels(self,pdict,lat=None): """ - Given a dictionary returned by ``drawparallels``, remove parallels - (latitude lines) and associated labels from the map. + Given a dictionary returned by :meth:`Basemap.drawparallels`, remove + parallels (latitude lines) and associated labels from the map. .. tabularcolumns:: |l|L| @@ -2285,8 +2285,8 @@ def removemeridians(self,mdict,lon=None): """ - Given a dictionary returned by ``drawmeridians``, remove meridians - (longitude lines) and associated labels from the map. + Given a dictionary returned by :meth:`Basemap.drawmeridians`, remove + meridians (longitude lines) and associated labels from the map. .. tabularcolumns:: |l|L| This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 8683 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8683&view=rev Author: jswhit Date: 2010年09月07日 17:49:56 +0000 (2010年9月07日) Log Message: ----------- add removeparallels and removemeridians convenience methods. Modified Paths: -------------- trunk/toolkits/basemap/Changelog trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py Modified: trunk/toolkits/basemap/Changelog =================================================================== --- trunk/toolkits/basemap/Changelog 2010年09月06日 01:51:58 UTC (rev 8682) +++ trunk/toolkits/basemap/Changelog 2010年09月07日 17:49:56 UTC (rev 8683) @@ -1,6 +1,7 @@ version 1.0.1 (not yet released). * add datum grid shift files, so that pyproj.transform can do datum shifts. + * add removeparallels and removemeridians convenience methods. version 1.0 (svn revision 8531) * don't force adjustable='box' so Basemap is compatible with AxesGrid. Added fcstmaps_axesgrid.py example. Modified: trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py =================================================================== --- trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2010年09月06日 01:51:58 UTC (rev 8682) +++ trunk/toolkits/basemap/lib/mpl_toolkits/basemap/__init__.py 2010年09月07日 17:49:56 UTC (rev 8683) @@ -2017,6 +2017,29 @@ if v == ([], []): del linecolls[k] return linecolls + def removeparallels(self,pdict,lat=None): + """ + Given a dictionary returned by ``drawparallels``, remove parallels + (latitude lines) and associated labels from the map. + + .. tabularcolumns:: |l|L| + + ============== ==================================================== + Keyword Description + ============== ==================================================== + lat latitude value to remove (Default None, removes all + of them) + ============== ==================================================== + """ + if lat is not None and lat not in pdict.keys(): + raise ValueError('latitude %s not drawn' % lat) + for key in pdict.keys(): + if lat is None or key == lat: + tup = pdict[key] + for item in tup: + for x in item: + x.remove() + def drawmeridians(self,meridians,color='k',linewidth=1., zorder=None,\ dashes=[1,1],labels=[0,0,0,0],labelstyle=None,\ fmt='%g',xoffset=None,yoffset=None,ax=None,latmax=None, @@ -2260,6 +2283,24 @@ if v == ([], []): del linecolls[k] return linecolls + def removemeridians(self,mdict,lon=None): + """ + Given a dictionary returned by ``drawmeridians``, remove meridians + (longitude lines) and associated labels from the map. + + .. tabularcolumns:: |l|L| + + ============== ==================================================== + Keyword Description + ============== ==================================================== + lon longitude value to remove (Default None, removes all + of them) + ============== ==================================================== + """ + if lon is not None and lon not in mdict.keys(): + raise ValueError('longitude %s not drawn' % lon) + self.removeparallels(mdict,lat=lon) + def tissot(self,lon_0,lat_0,radius_deg,npts,ax=None,**kwargs): """ Draw a polygon centered at ``lon_0,lat_0``. The polygon This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.