Matplotlib

Dal sito ufficiale


Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms.
Matplotlib can be used in Python scripts, the Python and IPython shell, the Jupyter notebook, web application servers, and four graphical user interface toolkits.

Matplotlib tries to make easy things easy and hard things possible.
You can generate plots, histograms, power spectra, bar charts, errorcharts, scatterplots, etc., with just a few lines of code.

Installa matplotlib con

pip install matplotlib

Il modulo pyplot contiene una raccolta di funzioni che permettono di sfruttare le funzionalità di matplotlib in modo interattivo.
Importalo nei tuoi programmi assegnandogli l’alias plt

import matplotlib.pyplot as plt

Consulta le pagine del sito con la parola chiave Matplotlib.

Funzionalità

RISORSE

In italiano

In inglese