Difference between revisions of "Matplotlib"
Jump to navigation
Jump to search
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
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 == | == Example == | ||
| Line 22: | Line 20: | ||
| − | [[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: