1
- Introduction
2
- ============
1
+ History
2
+ =======
3
+
4
+ .. note ::
5
+
6
+ The following introductory text was written in 2008 by John D. Hunter
7
+ (1968-2012), the original author of Matplotlib.
3
8
4
9
Matplotlib is a library for making 2D plots of arrays in `Python
5
10
<https://www.python.org> `_. Although it has its origins in emulating
6
- the MATLAB | reg | [ # ]_ graphics commands, it is
11
+ the MATLAB graphics commands, it is
7
12
independent of MATLAB, and can be used in a Pythonic, object oriented
8
13
way. Although Matplotlib is written primarily in pure Python, it
9
14
makes heavy use of `NumPy <http://www.numpy.org >`_ and other extension
10
15
code to provide good performance even for large arrays.
11
16
12
- .. |reg | unicode :: 0xAE
13
- :ltrim:
14
-
15
17
Matplotlib is designed with the philosophy that you should be able to
16
18
create simple plots with just a few commands, or just one! If you
17
19
want to see a histogram of your data, you shouldn't need to
@@ -62,10 +64,10 @@ The Matplotlib code is conceptually divided into three parts: the
62
64
*pylab interface * is the set of functions provided by
63
65
:mod: `matplotlib.pylab ` which allow the user to create plots with code
64
66
quite similar to MATLAB figure generating code
65
- (:ref: ` sphx_glr_tutorials_introductory_pyplot.py `). The *Matplotlib frontend * or *Matplotlib
67
+ (:doc: ` /tutorials/introductory/pyplot `). The *Matplotlib frontend * or *Matplotlib
66
68
API * is the set of classes that do the heavy lifting, creating and
67
69
managing figures, text, lines, plots and so on
68
- (:ref: ` sphx_glr_tutorials_intermediate_artists.py `). This is an abstract interface that knows
70
+ (:doc: ` /tutorials/intermediate/artists `). This is an abstract interface that knows
69
71
nothing about output. The *backends * are device-dependent drawing
70
72
devices, aka renderers, that transform the frontend representation to
71
73
hardcopy or a display device (:ref: `what-is-a-backend `). Example
@@ -87,8 +89,6 @@ people want to automatically generate PostScript files to send
87
89
to a printer or publishers. Others deploy Matplotlib on a web
88
90
application server to generate PNG output for inclusion in
89
91
dynamically-generated web pages. Some use Matplotlib interactively
90
- from the Python shell in Tkinter on Windows™ . My primary use is to
92
+ from the Python shell in Tkinter on Windows. My primary use is to
91
93
embed Matplotlib in a Gtk+ EEG application that runs on Windows, Linux
92
94
and Macintosh OS X.
93
-
94
- .. [# ] MATLAB is a registered trademark of The MathWorks, Inc.
0 commit comments