Hi Jean-Louis, On Thu, Oct 13, 2011 at 1:47 AM, Durrieu Jean-Louis <jean-louis.durr...@epfl.ch> wrote: > > Is that the right way to do so? Is there any way of setting the QT_API more > "definitely", and not having to change the call to python? >
Yes, in your $HOME/.bashrc file that your shell loads at startup time, you can write export QT_API="pyside" And this will ensure that you always have this variable set as part of your 'environment'. The concept of 'environment' is a unix-specific idea of a set of variables and other parameters visible to any program; you can actually read and write the enviroment in python by importing 'os' and using the os.environ variable: $ export SOMEVAR="Hello matplotlib" $ ipython --no-banner In [1]: import os In [2]: os.environ['SOMEVAR'] Out[2]: 'Hello matplotlib' Cheers, f ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users