>> Would downgrading matplotlib be a temporary fix?
>
> I don't think so: on the contrary, downgrading PyQt4 to v4.5.4 would
> certainly work.
> But let me take a look at it, my first impression is that there should
> be an easy fix for matplotlib's Qt4 backend -- I'll try and spend some
> time on this before tomorrow.
I still experience this issue with the latest code from the hg
repository on Ubuntu Karmic.
What do you recommend to get the ploting fixed?
Thanks,
Timmie
I've just tested the sample program (interactive console) submitted by
Rick in the first post on an up-to-date Ubuntu Karmic:
Python 2.6.4
Qt 4.5.2
PyQt 4.6
And it works...
Are you really using the official ubuntu packages?
-Pierre
here are my versions:
> Python 2.6.4
which python
/usr/bin/python
$ /usr/bin/python
Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
> Qt 4.5.2
ii libqt4-core 4.5.3really4.5.2-0ubuntu1
transitional package for Qt 4 core non-GUI runtime libraries
> PyQt 4.6
ii python-qt4 4.6-1
Python bindings for Qt4
>
> And it works...
> Are you really using the official ubuntu packages?
>>> from numpy import *
>>> from matplotlib import *
>>> from pylab import *
>>> x = linspace(0,5,100)
>>> y = sin(x)
>>> plot(x,y)
[<matplotlib.lines.Line2D object at 0xa97accc>]
>>> show()
### 2. try
>>> from numpy import *
>>> from matplotlib import *
>>> from pylab import *
>>> x = linspace(0,5,100)
>>> y = sin(x)
>>> plot(x,y)
[<matplotlib.lines.Line2D object at 0xaa02acc>]
>>> show()
Traceback (most recent call last):
File
"/usr/lib/pymodules/python2.6/matplotlib/backends/backend_qt4.py", line