Hi,
I've written a script to roughly emulate the elegant streamline plots found in
Mathematica. The code is available at
http://www.atm.damtp.cam.ac.uk/people/tjf37/streamplot.py and example plots at
http://www.atm.damtp.cam.ac.uk/people/tjf37/streamlines1.png and
streamlines2.png. It's a pre
Hi,
I am writting an application in which I update dynamically the state
of the figures. When I am done I call the Figure.canvas.draw function
to redraw the figure. However, when the window was previously closed
by the user the update can be skipped.
Is there a way to tell from a figure han
I don't know of a colormap like that, but you can build one pretty
easily by just finding the hex codes for the colors you want, and then
doing this:
mycm =
matplotlib.colors.LinearSegmentedColormap.from_list("my_new_colormap",["#58c5cc","#5cc0a4","#34842f","#b3de1d"])
matplotlib.cm.register_cma