matplotlib

What it is good for?

Plotting diagrams.

matplotlib is capable of producing static images of all common types of diagrams in print quality: line plots, scatter plots, bar charts, pie charts, histograms, heat maps etc.

Installed with Anaconda

yes

How to install it:

  1. pip install matplotlib

Example

Plot a square function:

  1. from pylab import *
  2. x = list(range(-10, 10))
  3. y = [xval**2 for xval in x]
  4. figure()
  5. plot(x, y, 'bo') # blue circles
  6. title('square function')
  7. xlabel('x')
  8. ylabel('$x^2$')
  9. savefig('plot.png')

output from matplotlib

Where to learn more?

http://matplotlib.org/