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

Skip to content

Commit ef167c1

Browse files
committed
some screenshots fixes
svn path=/trunk/matplotlib/; revision=6292
1 parent b67be9a commit ef167c1

1 file changed

Lines changed: 19 additions & 17 deletions

File tree

doc/users/screenshots.rst

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ You can plot date data with major and minor ticks and custom tick
150150
formatters for both the major and minor ticks; see matplotlib.ticker
151151
and matplotlib.dates for details and usage.
152152

153-
plot:: mpl_examples/api/date_demo.py
153+
.. plot:: mpl_examples/api/date_demo.py
154154

155155
.. _screenshots_jdh_demo:
156156

@@ -159,7 +159,7 @@ Financial charts
159159

160160
You can make much more sophisticated financial plots. This example
161161
emulates one of the `ChartDirector
162-
<http://www.advsofteng.com/gallery_finance.html>` financial plots.
162+
<http://www.advsofteng.com/gallery_finance.html>`_ financial plots.
163163
Some of the data in the plot, are real financial data, some are random
164164
traces that I used since the goal was to illustrate plotting
165165
techniques, not market analysis!
@@ -228,12 +228,14 @@ Mathtext_examples
228228

229229
A sampling of the many TeX expressions now supported by matplotlib's
230230
internal mathtext engine. The mathtext module provides TeX style
231-
mathematical expressions using freetype2 and the BaKoMa computer
232-
modern or STIX fonts. See the matplotlib.mathtext module for
233-
additional. matplotlib mathtext is an independent implementation, and
234-
does not required TeX or any external packages installed on your
235-
computer.
236-
231+
mathematical expressions using `freetype2
232+
<http://freetype.sourceforge.net/index2.html>`_ and the BaKoMa
233+
computer modern or `STIX <http://www.stixfonts.org>`_ fonts. See the
234+
:mod:`matplotlib.mathtext` module for additional. matplotlib mathtext
235+
is an independent implementation, and does not required TeX or any
236+
external packages installed on your computer. See the tutorial at
237+
:ref:`mathtext-tutorial`.
238+
237239
.. plot:: mpl_examples/pylab_examples/mathtext_examples.py
238240

239241
.. _screenshots_tex_demo:
@@ -249,21 +251,21 @@ rendering of strings with the *usetex* option.
249251

250252
.. _screenshots_eeg_demo:
251253

254+
EEG demo
252255
=========
253256

254257
You can embed matplotlib into pygtk, wxpython, Tk, FLTK or Qt
255258
applications. Here is a screenshot of an eeg viewer called pbrain
256259
which is part of the NeuroImaging in Python suite `NIPY
257-
<http://neuroimaging.scipy.org>`. Pbrain is written in pygtk using
260+
<http://neuroimaging.scipy.org>`_. Pbrain is written in pygtk using
258261
matplotlib. The lower axes uses :func:`~matplotlib.pyplot.specgram`
259-
to plot the spectrogram of one of the EEG channels. The code demo
260-
linked above is a much simpler example of embedding matplotlib in
261-
pygtk. For an example of how to use the navigation toolbar in your
262-
applications, see examples/user_interfaces/embedding_in_gtk2.py. If
263-
you want to use matplotlib in a wx application, see
264-
examples/user_interfaces/embedding_in_wx2.py. If you want to work
265-
with `glade <http://glade.gnome.org>`_, see
266-
examples/user_interfaces/mpl_with_glade.py
262+
to plot the spectrogram of one of the EEG channels. For an example of
263+
how to use the navigation toolbar in your applications, see
264+
:ref:`user_interfaces-embedding_in_gtk2`. If you want to use
265+
matplotlib in a wx application, see
266+
:ref:`user_interfaces-embedding_in_wx2`. If you want to work with
267+
`glade <http://glade.gnome.org>`_, see
268+
:ref:`user_interfaces-mpl_with_glade`.
267269

268270
.. image:: ../_static/eeg_small.png
269271

0 commit comments

Comments
 (0)