User Tools

Site Tools


matplotlib

This is an old revision of the document!


Non interactive:

import matplotlib.pyplot as plt
import numpy as np
plt.plot(....)

Embedded matplotlib in a gui. pylab is a way of importing pyplot and most of numpy into the namespace. This is equivalent to from pylab import *. Note that it imports numpy as np and pyplot as plt.

ipython --pylab
matplotlib.1437853914.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki