Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 29f82f2

Browse files
committed
fix osx epd formatting bug in rest
svn path=/branches/v0_99_maint/; revision=7523
1 parent b7ad379 commit 29f82f2

4 files changed

Lines changed: 42 additions & 22 deletions

File tree

doc/_templates/indexsidebar.html

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,33 @@ <h3>News</h3>
77
pathto('users/installing') }}">installing</a>
88
</p>
99

10-
<p>Watch a <a href="http://videolectures.net/mloss08_hunter_mat">video lecture</a> about matplotlib presented at <a href="http://videolectures.net/mloss08_whistler">NIPS 08 Workshop</a> <i>Machine Learning Open Source Software</i></a>.
10+
<p>Build websites like matplotlib's,
11+
with <a href="http://sphinx.pocoo.org/">sphinx</a> and extensions for
12+
mpl plots, math, inheritance diagrams -- try
13+
the <a href="http://matplotlib.sf.net/sampledoc">sampledoc</a>
14+
tutorial.
1115
</p>
1216

17+
18+
<h3>Videos</h3>
19+
20+
<p>Watch the <a href="http://conference.scipy.org/">SciPy</a> 2009 <a href="http://www.archive.org/details/scipy09_introTutorialDay2_1">intro</a> and <a href="http://www.archive.org/details/scipy09_advancedTutorialDay1_3">advanced</a> matplotlib tutorials
21+
</p>
22+
23+
<p>Watch a <a href="http://videolectures.net/mloss08_hunter_mat">talk</a> about matplotlib presented at <a href="http://videolectures.net/mloss08_whistler">NIPS 08 Workshop</a> <i>MLOSS</i></a>.
24+
</p>
25+
26+
27+
<h3>Toolkits</h3>
28+
1329
<p>There are several matplotlib addon <a href="{{
1430
pathto('users/toolkits') }}">toolkits</a>, including the projection
1531
and mapping toolkit
1632
<a href="http://matplotlib.sf.net/basemap/doc/html">basemap</a>, 3d plotting with <a href="{{
17-
pathto('mpl_toolkits/mplot3d/index') }}">mplot3d</a>, wild and wonderful axes and axis helpers in <a href="{{
33+
pathto('mpl_toolkits/mplot3d/index') }}">mplot3d</a>, axes and axis helpers in <a href="{{
1834
pathto('mpl_toolkits/axes_grid/index') }}">axes_grid</a> and more.
1935
</p>
2036

21-
2237
<h3>Need help?</h3>
2338

2439
<p>Check the <a href="{{ pathto('users/index') }}">user guide</a>,

doc/_templates/layout.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33

44
{% block rootrellink %}
5-
<li><a href="{{ pathto('index') }}">matplotlib&nbsp;home</a>|&nbsp;</li>
5+
<li><a href="{{ pathto('index') }}">home</a>|&nbsp;</li>
66
<li><a href="{{ pathto('search') }}">search</a>|&nbsp;</li>
7+
<li><a href="examples/index.html">examples</a>|&nbsp;</li>
78
<li><a href="{{ pathto('gallery') }}">gallery</a>|&nbsp;</li>
8-
<li><a href="{{ pathto('contents') }}">documentation </a> &raquo;</li>
9+
<li><a href="{{ pathto('contents') }}">docs</a> &raquo;</li>
910
{% endblock %}
1011

1112

doc/faq/installing_faq.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,10 @@ changing the occurrences of ``MacOSX10.4u.sdk`` into ``MacOSX10.5.sdk``
400400
``/Library/Frameworks/Python.framework/Versions/Current/lib/pythonX.Y/site-packages/easy-install.pth``,
401401
(where X.Y is the version of Python you are building against)
402402
Comment out the line containing the name of the directory in which the
403-
previous version of MPL was installed (Looks something like ``./matplotlib-0.98.5.2n2-py2.5-macosx-10.3-fat.egg``).
403+
previous version of MPL was installed (Looks something like ``./matplotlib-0.98.5.2n2-py2.5-macosx-10.3-fat.egg``).
404404

405405
3. Save the following as a shell script , for example ``./install-matplotlib-epd-osx.sh`` ::
406+
406407
NAME=matplotlib
407408
VERSION=0_99
408409
PREFIX=$HOME
@@ -413,11 +414,11 @@ previous version of MPL was installed (Looks something like ``./matplotlib-0.98.
413414
echo getting the trunk
414415
svn co https://matplotlib.svn.sourceforge.net/svnroot/$NAME/trunk/$NAME $NAME
415416
cd $NAME
416-
417+
417418
fi
418419
if [ $branch = "release" ]
419420
then
420-
echo getting the maintenance branch
421+
echo getting the maintenance branch
421422
svn co https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v${VERSION}_maint $NAME$VERSION
422423
cd $NAME$VERSION
423424
fi

doc/users/transforms_tutorial.rst

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ In 95% of your plotting, you won't need to think about this, as it
1212
happens under the hood, but as you push the limits of custom figure
1313
generation, it helps to have an understanding of these objects so you
1414
can reuse the existing transformations matplotlib makes available to
15-
you, or create your own (see :mod:`matplotlib.transforms`. The table below summarizes the existing
16-
coordinate systems, the transformation object you should use to work
17-
in that coordinate system, and the description of that system. In the
18-
`Transformation Object` column, ``ax`` is a :class:`~matplotlib.axes.Axes` instance,
19-
and ``fig`` is a :class:`~matplotlib.figure.Figure` instance.
15+
you, or create your own (see :mod:`matplotlib.transforms`). The table
16+
below summarizes the existing coordinate systems, the transformation
17+
object you should use to work in that coordinate system, and the
18+
description of that system. In the `Transformation Object` column,
19+
``ax`` is a :class:`~matplotlib.axes.Axes` instance, and ``fig`` is a
20+
:class:`~matplotlib.figure.Figure` instance.
2021

2122
========== ===================== ==============================================================================================================================================================
2223
Coordinate Transformation Object Description
@@ -28,15 +29,17 @@ Coordinate Transformation Object Description
2829
========== ===================== ==============================================================================================================================================================
2930

3031

31-
All of the transformation objects take inputs in their coordinate
32-
system, and transform the input to the `display` coordinate system.
33-
That is why the `display` coordinate system has `None` for the
34-
`Transformation Object` column -- it already is in display
35-
coordinates. The transformations also know how to invert themselves,
36-
to go from `display` back to the native coordinate system. This is
37-
particularly useful when processing events from the user interface,
38-
which typically occur in display space, and you want to know where the
39-
mouse click or key-press occurred in your data coordinate system.
32+
33+
All of the transformation objects in the table above take inputs in
34+
their coordinate system, and transform the input to the `display`
35+
coordinate system. That is why the `display` coordinate system has
36+
`None` for the `Transformation Object` column -- it already is in
37+
display coordinates. The transformations also know how to invert
38+
themselves, to go from `display` back to the native coordinate system.
39+
This is particularly useful when processing events from the user
40+
interface, which typically occur in display space, and you want to
41+
know where the mouse click or key-press occurred in your data
42+
coordinate system.
4043

4144
.. _data-coords:
4245

0 commit comments

Comments
 (0)