From: <and...@ti...> - 2005-03-07 17:15:35
|
Hello Darren & NG, > >from pylab import ... is intended for interactive matplotlib plotting se= ssions >or scripting, with syntax very similar to Matlab. To see what it is all >about, try http://matplotlib.sourceforge.net/tutorial.html, and >http://matplotlib.sourceforge.net/pylab_commands.html > I am not using Matplotlib/Pylab in interactive way. In my RC file the int= eractive option is switched off. >The example you are building from is the "Pythonic" object oriented inte= rface, > >which is more suitable for writing applications than the pylab interface= . I'm sorry, probably I don't catch your point... I used embedding_in_wx.py= because I am trying do embed a Matplotlib figure in a wxPanel on my appli= cation. It seems to me that this is the correct way to go. In my application, I am able to reproduce the strange behavior of the "gr= id" (pushing the "g" button or calling grid(True) doesn't change anything, th= e grid is deleted by Matplotlib). Regarding the examples, either they are not designed to work with Matplot= lib 0.72.1 or there is something strange happening somewhere (my PC? Matplotl= ib?). Andrea. |