|
92 | 92 | # library. Install Matplotlib for your own development environment manually or
|
93 | 93 | # use a third-party package distribution.
|
94 | 94 | #
|
95 |
| -# Third-party package distributions, such as |
96 |
| -# `Anaconda <https://www.anaconda.com/>`_, |
97 |
| -# `ActiveState <https://www.activestate.com/activepython/downloads>`_, |
98 |
| -# or `WinPython <https://winpython.github.io/>`_, |
99 |
| -# already provide Matplotlib and its dependencies. They have the added benefit |
100 |
| -# of including other scientific Python libraries as well. These packages work |
101 |
| -# as is and do not require additional installations. |
102 |
| -# |
103 |
| -# Installation from source |
104 |
| -# ------------------------ |
105 |
| -# |
106 |
| -# In order to install Matplotlib from the source directory, run the |
107 |
| -# following command line executions using Python and installer program ``pip`` |
108 |
| -# for the latest version of Matplotlib and its dependencies. This compiles |
109 |
| -# the library from the current directory on your machine. Depending on your |
110 |
| -# operating system, you may need additional support. |
111 |
| -# |
112 |
| -# ``python -m pip install matplotlib`` |
| 95 | +# The :ref:`installation-guide` contains more information about install |
| 96 | +# methods and resources for third-party package distributions. |
113 | 97 | #
|
114 | 98 | # .. seealso::
|
115 | 99 | #
|
@@ -742,25 +726,29 @@ def autopct_format(percent, group):
|
742 | 726 |
|
743 | 727 | def my_plotter(ax, data1, data2, param_dict):
|
744 | 728 | """
|
| 729 | + Helper function to make a graph. |
| 730 | +
|
745 | 731 | Parameters
|
746 | 732 | ----------
|
747 |
| - :param ax: Axes |
748 |
| - :param data1: array of X data |
749 |
| - :param data2: array of Y data |
750 |
| - :param param_dict: Dictionary of keyword arguments to pass to method |
| 733 | + ax : Axes |
| 734 | + Specific Axes to graph data to |
| 735 | + data1 : array |
| 736 | + X data |
| 737 | + data2 : array |
| 738 | + Y data |
| 739 | + param_dict : dict() |
| 740 | + Dictionary of keyword arguments passes to method |
751 | 741 |
|
752 | 742 | Returns
|
753 | 743 | -------
|
754 |
| - :returns: out : list of artists added |
| 744 | + out : list |
| 745 | + List of Artists added |
755 | 746 | """
|
756 | 747 | out = ax.plot(data1, data2, **param_dict)
|
757 |
| - # Note: Other methods from Axes class are also applicable. |
758 | 748 | return out
|
759 | 749 |
|
760 | 750 | ##############################################################################
|
761 | 751 | #
|
762 |
| -# .. currentmodule:: getting_started |
763 |
| -# .. autofunction:: my_plotter |
764 | 752 | #
|
765 | 753 | # Additional Resources
|
766 | 754 | # ====================
|
|
0 commit comments