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

Skip to content

Commit 5dba251

Browse files
committed
added a glossary to the docs
svn path=/trunk/matplotlib/; revision=5536
1 parent 1682c88 commit 5dba251

2 files changed

Lines changed: 26 additions & 14 deletions

File tree

doc/glossary/index.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
########
2+
Glossary
3+
########
4+
5+
.. glossary::
6+
7+
raster graphics
8+
Raster graphics, or bitmaps, represent an image as an array of pixels
9+
which is resolution dependent. Raster graphics are generally most
10+
practical for photo-realistic images, but do not easily without loss of
11+
quality.
12+
13+
vector graphics
14+
The use of geometrical primitives based upon mathematical equations to
15+
represent images in computer graphics. Primitives can include points,
16+
lines, curves, and shapes or polygons. Vector graphics are scalable,
17+
which means that they can be resized without suffering from issues
18+
related to inherent resolution like are seen in raster graphics. Vector
19+
graphics are generally most practical for typesetting and graphic design
20+
applications.

doc/index.rst

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
.. matplotlib documentation master file, created by sphinx-quickstart on Sat May 24 15:37:00 2008.
2-
You can adapt this file completely to your liking, but it should at least
3-
contain the root `toctree` directive.
1+
42

53
Welcome to matplotlib's documentation!
64
======================================
@@ -19,16 +17,10 @@ Welcome to matplotlib's documentation!
1917
faq/index.rst
2018
devel/index.rst
2119
api/index.rst
20+
glossary/index.rst
2221

23-
Indices and tables
24-
==================
25-
26-
* :ref:`genindex`
27-
* :ref:`modindex`
28-
* :ref:`search`
29-
22+
.. htmlonly::
3023

31-
.. _ipython: http://ipython.scipy.org
32-
.. _numpy: http://numpy.scipy.org
33-
.. _scipy: http://scipy.org
34-
.. _vtk: http://www.vtk.org
24+
* :ref:`genindex`
25+
* :ref:`modindex`
26+
* :ref:`search`

0 commit comments

Comments
 (0)