Re: matplotlib widget & QtDesigner
this is what I also found out and i addes the following lines to
my .profile and .bashrc file
# Add a directory to PYTHONPATH
# Add a directory to QTDESIGNERPATH
This directory contains the matplotlibplugin.py
Now both environment variables are there right after loggin in.
But unfortunately the widget just refuses to show up inside the
On 9 Okt., 11:21, Pierre Raybaut <cont...@...> wrote:
> Actually you have to add this environment variable in your .bashrc
> configuration file (or .cshrc depending on your terminal): this way,
> it will be taken into account the next time you log in. If you only
> add it in a terminal, it will have no effect on other terminals and on
> Qt Designer if you are executing it from a system menu shortcut.
> To simply test this, you'll have to execute Qt Designer just after
> adding the environment variable, i.e. in the same terminal.
> On Oct 9, 11:08 am, sebastian06 <sebrh...@...> wrote:
> > Hi Pierre,
> > thanks for the hint, but it still does not work. Here is what I did
> > PYQTDESIGNERPATH=/home/sebi/Applications/QtDesigner_Plugins (--> here
> > is matplotlibplugin-py located in Linux)
> > export PYQTDESIGNERPATH
> > echo PYQTDESIGNERPATH
> > ...
> > PYQTDESIGNERPATH=/home/sebi/Applications/QtDesigner_Plugins
> > This looks fine to me, but when I start the Qt Designer, there is
> > matplotlibplugin widget. And if I log off & on again, the environment
> > variable is gone ...
> > Any idea, what I did wrong?
> > Cheers,
> > Sebi
> > On Oct 6, 9:00 pm, Pierre Raybaut <cont...@...> wrote:
> > > Hi,
> > > You may directly use the Matplotlib Qt Designer plugin which is
> > > shipped with Python(x,y).
> > > It is located here: "C:\Python26\Lib\site-packages\PyQt4\plugins
> > > \designer\python".
> > > On your linux machine, create an environment variable called
> > > PYQTDESIGNERPATH, and set it to the directory containing
> > > 'matplotlibplugin.py'. That's all!
> > > For more information on how to create Qt Designer plugins for PyQt4:http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html#w...
> > > Cheers,
> > > Pierre
> > > On 5 oct, 21:45, sebastian06 <sebrh...@...> wrote:
> > > > Hi guys,
> > > > I use pythonxy at work and at home. Since I can not use Ubuntu 10.04
> > > > during my job, I have to stick to WindowsXP.
> > > > And here is my problem. When I start the QtDesigner from the Python,
> > > > the designer has the very easy to use matplotlib widget.
> > > > At home, where I have only Spyder (no PythonXY ...), I start the
> > > > QtDesigner from there, this widget is missing in the designer widget
> > > > box. Is there a way to integrate the matplotlib widget in the same way
> > > > it was done for the windows software or do I have to create the widget
> > > > by myself. And can I add it to the widget toolbox?
> > > > Thanks for your help,
> > > > Sebastian
You received this message because you are subscribed to the Google Groups "python(x,y)" group.
To post to this group, send email to pythonxy@...
To unsubscribe from this group, send email to pythonxy+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pythonxy?hl=en.