@@ -16,27 +16,30 @@ Terminology
16
16
-----------
17
17
18
18
There are several key terms in Matplotlib that are standards for
19
- reliability and consistency in documentation. They are case-sensitive and
20
- are not interchangeable.
19
+ reliability and consistency in documentation. They are case-sensitive and are
20
+ not interchangeable.
21
21
22
22
+------------------+--------------------------+--------------+--------------+
23
23
| Term | Description | Correct | Incorrect |
24
24
+==================+==========================+==============+==============+
25
- | Figure | Matplotlib working space |- One Figure |- One figure |
25
+ | Figure _ | Matplotlib working space |- One Figure |- One figure |
26
26
| | for programming. |- 11 Figures |- 11 figures |
27
27
+------------------+--------------------------+--------------+--------------+
28
- | Axes | Subplots within Figure. | - One Axes | - One axes |
28
+ | Axes _ | Subplots within Figure. | - One Axes | - One axes |
29
29
| | Contains Figure elements | - Four Axes | - Four Axeses|
30
30
| | and is responsible for | - 32 Axes | - 32 Axii |
31
31
| | plotting and configuring | | |
32
32
| | additional details. | | |
33
33
+------------------+--------------------------+--------------+--------------+
34
- | Artist | Broad Matplotlib object | - One Artist | - One artist |
34
+ | Artist _ | Broad Matplotlib object | - One Artist | - One artist |
35
35
| | that displays visuals. | - Two Artists| - Two artists|
36
36
+------------------+--------------------------+--------------+--------------+
37
- | Axis | Refers to visible object | - One Axis | - One axis |
38
- | | corresponding to labeling| - Four Axis | - Four Axises|
39
- | | of plotted data. | objects | - 32 Axes |
37
+ | Axis _ | Human-readable single | - One Axis | - One Axis |
38
+ | | dimensional object | object | - One axis |
39
+ | | of reference marks | - Four Axis | - Four Axises|
40
+ | | containing ticks, tick | objects | - 32 Axes |
41
+ | | labels, spines, and | - 32 Axis | |
42
+ | | edges. | objects | |
40
43
+------------------+--------------------------+--------------+--------------+
41
44
| Explicit, | Explicit approach of | - Explicit | - object |
42
45
| Object Oriented | programing in Matplotlib.| - explicit | oriented |
@@ -48,26 +51,29 @@ are not interchangeable.
48
51
| | | | interface |
49
52
+------------------+--------------------------+--------------+--------------+
50
53
54
+ .. _Figure : :class:`~matplotlib.figure.Figure`
55
+ .. _Axes : :class:`~matplotlib.axes.Axes`
56
+ .. _Artist : :class:`~matplotlib.artist.Artist`
57
+ .. _Axis : :class:`matplotlib.axis.Axis`
58
+
51
59
52
60
Grammar
53
61
-------
54
62
55
63
Subject
56
64
^^^^^^^
57
- The audience is the "user" in the documentation. A "user" is a person
58
- programming in Python with the Matplotlib library.
59
-
60
- Use second-person sentences for instructions directed at user for specifying
61
- an action or a possessive reference.
65
+ Use second-person imperative sentences for directed instructions specifying an
66
+ action. Second-person pronouns are for individual-specific contexts and
67
+ possessive reference.
62
68
63
69
+------------------------------------+------------------------------------+
64
70
| Correct | Incorrect |
65
71
+====================================+====================================+
66
- | Users install Matplotlib from the | You can install Matplotlib from the|
67
- | source directory using the Python | source directory. You can find |
68
- | `` pip `` installer program. | additional support if you are |
69
- | Depending on your operating system,| having troulbe with your |
70
- | you may need additional support. | installation. |
72
+ | Install Matplotlib from the source | You can install Matplotlib from the|
73
+ | directory using the Python `` pip `` | source directory. You can find |
74
+ | installer program. Depending on | additional support if you are |
75
+ | your operating system, you may need | having trouble with your |
76
+ | additional support. | installation. |
71
77
+------------------------------------+------------------------------------+
72
78
73
79
Tense
@@ -105,7 +111,7 @@ Sentence structure
105
111
^^^^^^^^^^^^^^^^^^
106
112
Write with short sentences using Subject-Verb-Object order regularly. Limit
107
113
how frequently coordinating conjunctions appear in sentences. Avoid pronoun
108
- referenes and subordinating conjunctive prhases .
114
+ references and subordinating conjunctive phrases .
109
115
110
116
+------------------------------------+------------------------------------+
111
117
| Correct | Incorrect |
@@ -136,14 +142,14 @@ visibility.
136
142
137
143
reStructuredText standards
138
144
--------------------------
139
- - https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html
140
- - https://docutils.sourceforge.io/docs/user/rst/quickref.html
145
+ - ` reStructuredText Specifications < https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html >`_
146
+ - ` Quick Reference Document < https://docutils.sourceforge.io/docs/user/rst/quickref.html >`_
141
147
142
148
143
149
Lists
144
150
^^^^^
145
- Bulleted lists are for items that do not require sequencing.
146
- Numbered Lists are exclusively for performing actions in specific order.
151
+ Bulleted lists are for items that do not require sequencing. Numbered lists are
152
+ exclusively for performing actions in a determined order.
147
153
148
154
+------------------------------------+------------------------------------+
149
155
| Correct | Incorrect |
@@ -167,7 +173,7 @@ Numbered Lists are exclusively for performing actions in specific order.
167
173
Additional Resources
168
174
====================
169
175
170
- * `Red Hat Style Guide <https://stylepedia.net/style/#grammar >`_
171
- * `IBM Style Guide <https://www.ibm.com/developerworks/library/styleguidelines/ >`_
172
176
* `Google Developer Style Guide <https://developers.google.com/style >`_
177
+ * `IBM Style Guide <https://www.ibm.com/developerworks/library/styleguidelines/ >`_
178
+ * `Red Hat Style Guide <https://stylepedia.net/style/#grammar >`_
173
179
0 commit comments