python-matplotlib

Python library for creating static, animated, and interactive visualizations

brewmacoslinux
Try with needOr install directly
Source

About

Python library for creating static, animated, and interactive visualizations

Commands

python-matplotlib

Examples

Create a simple line plot and save as PNG$ python -c "import matplotlib.pyplot as plt; plt.plot([1,2,3,4]); plt.savefig('plot.png')"
Generate a scatter plot with labeled axes$ python -c "import matplotlib.pyplot as plt; plt.scatter([1,2,3], [1,4,9]); plt.xlabel('X'); plt.ylabel('Y'); plt.show()"
Create a histogram from sample data$ python -c "import matplotlib.pyplot as plt; plt.hist([1,1,2,2,2,3,3,3,3,4], bins=4); plt.savefig('histogram.png')"