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

Skip to content

Commit 4e2a5db

Browse files
committed
updates to the sidebar, misc fixes
svn path=/trunk/matplotlib/; revision=6204
1 parent c05a3ea commit 4e2a5db

7 files changed

Lines changed: 51 additions & 27 deletions

File tree

doc/_templates/indexsidebar.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
<h3>Download</h3>
22
<p>Current version: <b>{{ version }}</b></p>
3-
<p>Get matplotlib from the sourceforge <a
4-
href="http://sourceforge.net/projects/matplotlib">download</a> page
3+
<p>Download matplotlib from the sourceforge <a
4+
href="http://sourceforge.net/projects/matplotlib">project</a> page.
5+
6+
There are also optional <a href="{{ pathto('users/toolkits') }}">toolkits</a> for matplotlib.
57

68
<h3>Need help?</h3>
7-
<p>Join the matplotlib <a
8-
href="http://sourceforge.net/project/showfiles.php?group_id=80706">mailing lists</a>
9+
<p>Check the <a href="{{ pathto('contents') }}"}>docs</a>, the <a
10+
href="{{ pathto('faq/index') }}">faq</a>, and join the matplotlib mailing <a
11+
href="http://sourceforge.net/project/showfiles.php?group_id=80706">lists</a>
912

10-
<p>You can file bugs and patches on the sourceforge <a href="http://sourceforge.net/tracker/?group_id=80706">tracker</a>, but it is a good idea to ping us on the mailing list too.</p>
13+
<p>You can file bugs, patches and feature requests on the sourceforge <a href="http://sourceforge.net/tracker2/?group_id=80706">tracker</a>, but it is a good idea to ping us on the mailing list too.</p>
1114

1215
<h3>Screenshots</h3>
1316

1417
<a href="{{ pathto('users/screenshots') }}"><img align=center src="{{
15-
pathto("_static/logo_sidebar.png", 1) }}"></a>
18+
pathto('_static/logo_sidebar.png', 1) }}"></a>
1619

1720
<a href="{{ pathto('users/screenshots') }}">screenshots</a> and <a href=examples>examples</a>
1821

1922

20-
23+
2124

doc/_templates/layout.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@
1717
{% block sidebar2 %}{% endblock %}
1818

1919

20+

doc/faq/installing_faq.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,20 @@ install directory. To cleanly rebuild:
9090
<locating-matplotlib-install>`
9191

9292

93+
.. _install_svn:
94+
95+
How to install from svn
96+
=======================
97+
98+
Checking out the main source::
99+
100+
svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk matplotlib
101+
102+
and build and install as usual with::
103+
104+
> cd matplotlib
105+
> python setup.py install
106+
93107
Backends
94108
========
95109

doc/users/screenshots.rst

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,14 @@ Financial charts
158158
================
159159

160160
You can make much more sophisticated financial plots. This example
161-
emulates one of the `ChartDirector <http://www.advsofteng.com/gallery_finance.html>`
162-
financial plots. Some of the data in the plot, are real financial
163-
data, some are random traces that I used since the goal was to
164-
illustrate plotting techniques, not market analysis!
161+
emulates one of the `ChartDirector
162+
<http://www.advsofteng.com/gallery_finance.html>` financial plots.
163+
Some of the data in the plot, are real financial data, some are random
164+
traces that I used since the goal was to illustrate plotting
165+
techniques, not market analysis!
165166

166167

167-
plot:: ../mpl_examples/pylab_examples/finance_work2.py
168+
.. plot:: ../mpl_examples/pylab_examples/finance_work2.py
168169

169170

170171
.. _screenshots_basemap_demo:
@@ -178,7 +179,7 @@ collection of lines over a colormap image using the
178179
proj4 library: cylindrical equidistant, mercator, lambert conformal
179180
conic, lambert azimuthal equal area, albers equal area conic and
180181
stereographic. See the `tutorial
181-
<http://www.scipy.org/wikis/topical_software/Maps>` entry on the wiki.
182+
<http://www.scipy.org/wikis/topical_software/Maps>`_ entry on the wiki.
182183

183184
.. plot:: plotmap.py
184185

@@ -197,7 +198,7 @@ infrastructure.
197198

198199

199200

200-
plot:: ../mpl_examples/pylab_examples/log_demo.py
201+
.. plot:: ../mpl_examples/pylab_examples/log_demo.py
201202

202203
.. _screenshots_polar_demo:
203204

@@ -206,7 +207,7 @@ Polar plots
206207

207208
The :func:`~matplotlib.pyplot.polar` command generates polar plots.
208209

209-
plot:: ../mpl_examples/pylab_examples/polar_demo.py
210+
.. plot:: ../mpl_examples/pylab_examples/polar_demo.py
210211

211212
.. _screenshots_legend_demo:
212213

@@ -218,7 +219,7 @@ generates figure legends, with Matlab compatible legend placement
218219
commands. Thanks to Charles Twardy for input on the legend
219220
command
220221

221-
plot:: ../mpl_examples/pylab_examples/legend_demo.py
222+
.. plot:: ../mpl_examples/pylab_examples/legend_demo.py
222223

223224
.. _screenshots_mathtext_examples_demo:
224225

@@ -231,9 +232,9 @@ mathematical expressions using freetype2 and the BaKoMa computer
231232
modern or STIX fonts. See the matplotlib.mathtext module for
232233
additional. matplotlib mathtext is an independent implementation, and
233234
does not required TeX or any external packages installed on your
234-
computer.
235+
computer.
235236

236-
plot:: ../mpl_examples/pylab_examples/mathtext_examples.py
237+
.. plot:: ../mpl_examples/pylab_examples/mathtext_examples.py
237238

238239
.. _screenshots_tex_demo:
239240

@@ -242,9 +243,9 @@ Native TeX rendering
242243

243244
Although matplotlib's internal math rendering engine is quite
244245
powerful, sometimes you need TeX, and matplotlib supports external TeX
245-
rendering of strings with the *usetex* option.
246+
rendering of strings with the *usetex* option.
246247

247-
plot:: tex_demo.py
248+
.. plot:: tex_demo.py
248249

249250
.. _screenshots_eeg_demo:
250251

doc/users/toolkits.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,25 @@ Basemap
1212
=======
1313

1414
Plots data on map projections, with continental and political
15-
boundaries, `see <http://matplotlib.sf.net/basemap/doc/html>`
15+
boundaries, `see <http://matplotlib.sf.net/basemap/doc/html>`_
1616

1717
.. _toolkit_gtk:
1818

1919
GTK Tools
2020
=========
21-
mpl_toolkits.gtktools provides some utilities for working with GTK. This toolkit ships with matplotlib, but requires `pygtk <http://www.pygtk.org/>`.
21+
22+
mpl_toolkits.gtktools provides some utilities for working with GTK.
23+
This toolkit ships with matplotlib, but requires `pygtk
24+
<http://www.pygtk.org/>`_.
2225

2326
.. _toolkit_excel:
2427

2528
Excel Tools
2629
===========
2730

28-
mpl_toolkits.exceltools provides some utilities for working with Excel. This toolkit ships with matplotlib, but requires `pyExcelerator <http://sourceforge.net/projects/pyexcelerator>`
31+
mpl_toolkits.exceltools provides some utilities for working with
32+
Excel. This toolkit ships with matplotlib, but requires
33+
`pyExcelerator <http://sourceforge.net/projects/pyexcelerator>`_
2934

3035
.. _toolkit_natgrid:
3136

@@ -35,6 +40,6 @@ Natrgrid
3540
mpl_toolkits.natgrid is an interface to natgrid C library for gridding
3641
irregularly spaced data. This requires a separate installation of the
3742
natgrid toolkit from the sourceforge `download
38-
<http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=142792>`
43+
<http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=142792>`_
3944
page.
4045

examples/misc/longshort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
fig = plt.figure()
4242
ax = fig.add_subplot(111)
4343
ax.plot(r.date, tr)
44-
ax.set_title('total return: long appl, short goog')
44+
ax.set_title('total return: long APPL, short GOOG')
4545
ax.grid()
4646
fig.autofmt_xdate()
4747
plt.show()

examples/pylab_examples/mathtext_examples.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
r'$\widehat{abc}\widetilde{def}$',
5050
r'$\Gamma \Delta \Theta \Lambda \Xi \Pi \Sigma \Upsilon \Phi \Psi \Omega$',
5151
r'$\alpha \beta \gamma \delta \epsilon \zeta \eta \theta \iota \lambda \mu \nu \xi \pi \kappa \rho \sigma \tau \upsilon \phi \chi \psi$',
52-
ur'Generic symbol: $\u23ce \mathrm{\ue0f2 \U0001D538}$'
52+
#ur'Generic symbol: $\u23ce \mathrm{\ue0f2 \U0001D538}$'
5353
]
5454

5555
from pylab import *
@@ -66,7 +66,7 @@ def doall():
6666
print (i, s)
6767
text(0.1, -i, s, fontsize=20)
6868

69-
savefig('mathtext_examples')
69+
#savefig('mathtext_examples')
7070
#close('all')
7171
show()
7272

0 commit comments

Comments
 (0)