def plot_contours(self):
"""filled contour plot with lines"""
try:
from pylab import contour,contourf
except ImportError:
print "pylab is required to plot"
return None
contour(self.x,self.y,self.histogram.transpose())
contourf(self.x,self.y,self.histogram.transpose())
评论列表
文章目录