On Sun, Jan 3, 2010 at 11:34 AM, Alexander Hupfer <son...@gmail.com> wrote:
> Hi, I have a scatter plot embedded in qt4 according to
> http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_qt4.html
> what works fine
> However if I try to add a colorbar to it by simply calling
>
> p = scatter(....)
> colorbar(p)
>
> I get an error that says that something is outside the drawable area.

Please post example code which replicates the problem and a full
traceback.  From the snippet you posted, it looks like you may be
using the pylab/pyplot interface which is not consistent with
embedding mpl in qt or any other widget set.  Rather, you need to be
using the mpl API.

JDH

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to