[MacPorts] #22486: py26-matplotlib with Qt4
MacPorts
noreply at macports.org
Wed Nov 11 15:46:50 PST 2009
#22486: py26-matplotlib with Qt4
------------------------------------+---------------------------------------
Reporter: celil.rufat@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Resolution: invalid | Keywords: py26-matplotlib qt4
Port: snow leopard 10.6 |
------------------------------------+---------------------------------------
Changes (by ram@…):
* priority: High => Normal
* status: new => closed
* resolution: => invalid
Comment:
Take note of the message that is displayed after installing:
{{{
The default backend is now the non-interactive Agg backend, different
backends can be specified using the ~/.matplotlib/matplotlibrc file.
More details, regarding backends, can be found in the matplotlib FAQ:
http://matplotlib.sourceforge.net/faq/installing_faq.html#what-
is-a-backend
}}}
You're not specifying which backend you want so its defaulting to Agg, if
you run the example script specifying the QT4Agg backend it will work as
expected:
{{{
python
/opt/local/share/py26-matplotlib/examples/user_interfaces/embedding_in_qt4.py
-DQT4Agg
}}}
--
Ticket URL: <http://trac.macports.org/ticket/22486#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list