Difference between revisions of "Matplotlib"
Jump to navigation
Jump to search
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[wikipedia:matplotlib]] (2003) | [[wikipedia:matplotlib]] (2003) | ||
* https://matplotlib.org/ | * https://matplotlib.org/ | ||
| + | * Installation: <code>[[pip install matplotlib]]</code> | ||
Matplotlib created a temporary config/cache directory at /var/www/.config/matplotlib because the default path (/tmp/matplotlib-b33qbx_v) is not a writable directory; it is highly recommended to set the [[MPLCONFIGDIR]] environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support | Matplotlib created a temporary config/cache directory at /var/www/.config/matplotlib because the default path (/tmp/matplotlib-b33qbx_v) is not a writable directory; it is highly recommended to set the [[MPLCONFIGDIR]] environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support | ||
multiprocessing. | multiprocessing. | ||
| + | == Example == | ||
| + | import matplotlib.pyplot as plt | ||
| + | plt[[.show]]() | ||
== Related == | == Related == | ||
* [[Seaborn]] | * [[Seaborn]] | ||
| + | * [[Graph]] | ||
== See also == | == See also == | ||
| + | * {{matplotlib}} | ||
* {{NumPy}} | * {{NumPy}} | ||
| − | * {{ | + | * {{Pandas}} |
| − | [[Category: | + | |
| + | [[Category:Python]] | ||
Latest revision as of 08:31, 14 September 2025
wikipedia:matplotlib (2003)
- https://matplotlib.org/
- Installation:
pip install matplotlib
Matplotlib created a temporary config/cache directory at /var/www/.config/matplotlib because the default path (/tmp/matplotlib-b33qbx_v) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
Example[edit]
import matplotlib.pyplot as plt plt.show()
Related[edit]
See also[edit]
Advertising: