Re: [Matplotlib-users] Colormaps

2010-03-14 Thread Friedrich Romstedt
2010/3/14 David Arnold dwarnol...@suddenlink.net: All, I am having difficulty with a line on:  http://scipy.org/LoktaVolterraTutorial Here are the lines: values  = linspace(0.3, 0.9, 5) vcolors = p.cm.autumn_r(linspace(0.3, 1., len(values))) First of all, I can find no reference to

[Matplotlib-users] how to refresh figure.canvas

2010-03-14 Thread Alexej Bazhenov
Hello, I can't understand how to refresh FigureCanvasWxAgg instance. Here is the example: import wx import matplotlib from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas from matplotlib.figure import Figure class MainFrame(wx.Frame): def __init__(self):