From: <jd...@us...> - 2008-06-05 16:18:00
|
Revision: 5401 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5401&view=rev Author: jdh2358 Date: 2008-06-05 09:17:57 -0700 (Thu, 05 Jun 2008) Log Message: ----------- fixed collection demo to remove deprecated dpi Modified Paths: -------------- trunk/matplotlib/doc/users/navigation_toolbar.rst trunk/matplotlib/examples/api/collections_demo.py Added Paths: ----------- trunk/matplotlib/doc/_static/toolbar.png Added: trunk/matplotlib/doc/_static/toolbar.png =================================================================== (Binary files differ) Property changes on: trunk/matplotlib/doc/_static/toolbar.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/matplotlib/doc/users/navigation_toolbar.rst =================================================================== --- trunk/matplotlib/doc/users/navigation_toolbar.rst 2008-06-05 15:08:28 UTC (rev 5400) +++ trunk/matplotlib/doc/users/navigation_toolbar.rst 2008-06-05 16:17:57 UTC (rev 5401) @@ -3,6 +3,9 @@ Interactive navigation ====================== +.. image:: ../_static/toolbar.png + :scale: 100 + All figure windows come with a navigation toolbar, which can be used to navigate through the data set. Here is a description of each of the buttons at the bottom of the toolbar Modified: trunk/matplotlib/examples/api/collections_demo.py =================================================================== --- trunk/matplotlib/examples/api/collections_demo.py 2008-06-05 15:08:28 UTC (rev 5400) +++ trunk/matplotlib/examples/api/collections_demo.py 2008-06-05 16:17:57 UTC (rev 5401) @@ -86,7 +86,7 @@ a = fig.add_subplot(2,2,3) -col = collections.RegularPolyCollection(fig.dpi, 7, +col = collections.RegularPolyCollection(7, sizes = N.fabs(xx)*10.0, offsets=xyo, transOffset=a.transData) trans = transforms.Affine2D().scale(fig.dpi/72.0) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |