File tree 1 file changed +10
-10
lines changed 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 21
21
==============================================
22
22
23
23
Matplotlib has two interfaces. For an explanation of the trade-offs between the
24
- implicit and explicit interfaces see :ref:`api_interfaces`.
24
+ explicit and implicit interfaces see :ref:`api_interfaces`.
25
25
26
- The first is an explicit object-oriented (OO) interface. In this case, we
27
- utilize an instance of :class:`axes.Axes` in order to render visualizations on
28
- an instance of :class:`figure.Figure`. The second is based on MATLAB and uses
29
- an implicit global state-based interface. This is encapsulated in the
30
- :mod:`.pyplot` module. See the :doc:`pyplot tutorials
31
- </tutorials/introductory/pyplot>` for a more in-depth look at the pyplot
32
- interface.
26
+ In the explicit object-oriented (OO) interface we directly utilize instances of
27
+ :class:`axes.Axes` to build up the visualization in an instance of
28
+ :class:`figure.Figure`. In the implicit interface, inspired by and modeled on
29
+ MATLAB, uses an global state-based interface which is is encapsulated in the
30
+ :mod:`.pyplot` module to plot to the "current Axes". See the :doc:`pyplot
31
+ tutorials </tutorials/introductory/pyplot>` for a more in-depth look at the
32
+ pyplot interface.
33
33
34
34
Most of the terms are straightforward but the main thing to remember
35
35
is that:
43
43
44
44
.. note::
45
45
46
- In general, try to use the explicit interface over the implicit pyplot
47
- interface for plotting.
46
+ In general prefer the explicit interface over the implicit pyplot interface
47
+ for plotting.
48
48
49
49
Our data
50
50
========
You can’t perform that action at this time.
0 commit comments