From: Goyo <goy...@gm...> - 2013-04-02 16:45:50
|
2013/4/2 Benjamin Root <ben...@ou...>: > > I would suggest bringing this issue up with them (that the figure > gets destroyed at the end of each cell). The default behaviour of the inline backend is closing figures after cell execution, but this is configurable[1] That said you should be able to use the OO approach with oneliners like this: surf = plt.gca(projection='3d').plot_surface(...) Or write you own pyplot-style function. Adding 3d plotting functions to pyplot might or might not be a good thing, I can't tell. Or there might be a separate, pyplot-like module for 3d. Does that make sense? http://ipython.org/ipython-doc/stable/interactive/qtconsole.html#pylab-inline Goyo |