>
> On Tuesday 08 May 2007 02:43:45 pm Aaron Hoover wrote:
>> Hi All,
>>
>> I was excited to see that a Qt4 backend is available for matplotlib -
>> I'm running 0.87.7. So, I installed PyQt4 from source from the
>> riverbankcomputing website (OSX comes with the Qt framework already
>> installed), and tried to give it a go.
>>
>> First off I got the error:
>>
>> "No module named qt"
>>
>> So, I went into the Shell.py script in the IPython subdirectory of
>> site-packages and changed all instances of "import qt" to "from PyQt4
>> import Qt as qt".
>
> There is already support for the qt4 backend in ipython, you should  
> not have
> to make any changes to (recent versions of) ipython.
>
>> It fixed the module not found error, but now
>> I get the following error in Shell.py
>>
>> "TypeError: too many arguments to QTimer.start(), 1 at most expected"
>>
>> I realize that this is more likely an error with ipython, but I'm
>> wondering if anyone else has seen this. If so, have people verified
>> that ipython (0.80) is indeed compatible with the Qt4Agg backend.
>
> I have been using the qt4 backend with ipython for maybe a year  
> now, currently
> ipython 0.8.0. What is the output of "ipython -Version"?

ipython -Version gives:

0.8.0

Specifically, the error seems to be happening on line 838 of Shell.py  
in the mainloop() function:
...
--> 838         self.timer.start( self.TIMEOUT, True )
...

TypeError: too many arguments to QTimer.start(), 1 at most expected

Thanks,
Aaron

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to