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

Skip to content

Commit 15a88db

Browse files
committed
DOC: Clarify interface terminology
as proposed in https://github .com//issues/21817#issuecomment-983705359 and #26388 and already used in 26402. Closes #21817.
1 parent 69f9ebf commit 15a88db

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

doc/devel/style_guide.rst

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,18 @@ reliability and consistency in documentation. They are not interchangeable.
155155
| | | rotational | |
156156
| | | motion." | |
157157
+------------------+--------------------------+--------------+--------------+
158-
| Explicit, | Explicit approach of | - Explicit | - object |
159-
| Object Oriented | programming in | - explicit | oriented |
160-
| Programming (OOP)| Matplotlib. | - OOP | - OO-style |
158+
| Axes interface | Usage pattern in which | - Axes | - explicit |
159+
| | one calls methods on | interface | interface |
160+
| | Axes and Figure to | - call | - object |
161+
| | configure the plot. | methods on | oriented |
162+
| | | the Axes | - OO-style |
163+
| | | object | - OOP |
161164
+------------------+--------------------------+--------------+--------------+
162-
| Implicit, | Implicit approach of | - Implicit | - MATLAB like|
163-
| ``pyplot`` | programming in Matplotlib| - implicit | - Pyplot |
164-
| | with ``pyplot`` module. | - ``pyplot`` | - pyplot |
165-
| | | | interface |
165+
| pyplot interface | Usage pattern in which | - ``pyplot`` | - implicit |
166+
| | one calls `.pyplot` | interface | interface |
167+
| | functions only to with | - call | - MATLAB like|
168+
| | configure the plot. | ``pyplot`` | - Pyplot |
169+
| | | functions | |
166170
+------------------+--------------------------+--------------+--------------+
167171

168172
.. |Figure| replace:: :class:`~matplotlib.figure.Figure`

0 commit comments

Comments
 (0)