|
From: <jd...@us...> - 2010-07-02 18:19:15
|
Revision: 8485
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8485&view=rev
Author: jdh2358
Date: 2010-07-02 18:19:08 +0000 (Fri, 02 Jul 2010)
Log Message:
-----------
fix typos in gridspec docs
Modified Paths:
--------------
trunk/matplotlib/doc/users/gridspec.rst
trunk/matplotlib/lib/matplotlib/axes.py
Modified: trunk/matplotlib/doc/users/gridspec.rst
===================================================================
--- trunk/matplotlib/doc/users/gridspec.rst 2010-07-02 18:06:25 UTC (rev 8484)
+++ trunk/matplotlib/doc/users/gridspec.rst 2010-07-02 18:19:08 UTC (rev 8485)
@@ -118,7 +118,7 @@
==========================
You can create GridSpec from the SubplotSpec, in which case its layout
-parameters are set to that of the locataion of the given SubplotSpec. ::
+parameters are set to that of the location of the given SubplotSpec. ::
gs0 = gridspec.GridSpec(1, 2)
@@ -134,13 +134,13 @@
By default, GridSpec creates cells of equal sizes. You can adjust
relative heights and widths of rows and columns. Note that absolute
-values are meaningless, onlt their relative ratios matter. ::
+values are meaningless, only their relative ratios matter. ::
gs = gridspec.GridSpec(2, 2,
width_ratios=[1,2],
height_ratios=[4,1]
)
-
+
ax1 = plt.subplot(gs[0])
ax2 = plt.subplot(gs[1])
ax3 = plt.subplot(gs[2])
Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py 2010-07-02 18:06:25 UTC (rev 8484)
+++ trunk/matplotlib/lib/matplotlib/axes.py 2010-07-02 18:19:08 UTC (rev 8485)
@@ -8254,7 +8254,7 @@
triplot.__doc__ = mtri.triplot.__doc__
-from gridspec import GridSpec, SubplotSpec
+from matplotlib.gridspec import GridSpec, SubplotSpec
class SubplotBase:
"""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|