Difference between revisions of "Matplotlib"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
  
 
  import matplotlib.pyplot as plt
 
  import matplotlib.pyplot as plt
 +
plt[[.show]]()
  
 
== Related ==
 
== Related ==

Revision as of 12:48, 25 March 2025

wikipedia:matplotlib (2003)

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.


pip install matplotlib
import matplotlib.pyplot as plt
plt.show()

Related

See also

Advertising: