|
229 | 229 | # Explicit: Object Oriented Programming (OOP)
|
230 | 230 | # --------------------------------------------
|
231 | 231 | #
|
232 |
| -# Explicit programming for Matplotlib involves using a single instance of the |
233 |
| -# ``pyplot`` module. This unpacks a set of an explicit Figure and Axes. |
234 |
| -# More than one Axes is configurable; however, each Axes only corresponds to a |
235 |
| -# single Figure. |
| 232 | +# Explicit programming for Matplotlib involves calling the method ``subplots`` |
| 233 | +# in the ``pyplot`` module once. This unpacks a group of an explicit Figure and |
| 234 | +# Axes. More than one Axes is configurable; however, each Axes only corresponds |
| 235 | +# to a single Figure. |
236 | 236 | #
|
237 | 237 | # Each Axes has its own methods to graph data. In addition, each Axes
|
238 | 238 | # also uses separate methods to create and manage parts of a Figure. These
|
|
410 | 410 | # +=======================+==========================+========================+
|
411 | 411 | # | Visible elements from | Each specific Axes has | The ``pyplot`` module |
|
412 | 412 | # | rendered Figure. | its own method for | manages Artists based |
|
413 |
| -# | | artists. | on most recent Figure | |
| 413 | +# | | Artists. | on most recent Figure | |
414 | 414 | # | | | or Axes. |
|
415 | 415 | # +-----------------------+--------------------------+------------------------+
|
416 | 416 | #
|
@@ -655,7 +655,7 @@ def autopct_format(percent, group):
|
655 | 655 | # a percentage of the radius to place labels.
|
656 | 656 | wedgeprops=dict(width=0.3),
|
657 | 657 | # The wedgeprops keyword argument also takes dictionaries
|
658 |
| - # to pass on to the artists. The float for width sets the |
| 658 | + # to pass on to the Artists. The float for width sets the |
659 | 659 | # wedge size as a percentage of the radius starting from
|
660 | 660 | # the outer edge.
|
661 | 661 | shadow=True)
|
@@ -703,8 +703,8 @@ def autopct_format(percent, group):
|
703 | 703 | # argument is provided, the data acting as a percentage equivalent. The
|
704 | 704 | # ``autopct_format`` function requires two arguments, so ``partial`` takes
|
705 | 705 | # the argument for ``group`` and sets it to ``budget``. This smaller
|
706 |
| -# signature object then behaves as a function with one fewer argument. For |
707 |
| -# details about the functools module, see |
| 706 | +# signature object then behaves as the same function with one fewer argument. |
| 707 | +# For details about the functools module, see |
708 | 708 | # `functools
|
709 | 709 | # <https://docs.python.org/3/library/functools.html#module-functools>`_.
|
710 | 710 | #
|
|
0 commit comments