Re: [Matplotlib-users] Clearing 3D plots plotted in figure canvas

2012-03-09 Thread Benjamin Root
On Thu, Mar 8, 2012 at 4:02 PM, Sourabh Bajaj wrote:

> I am creating a PyQT based tool. that has a Figure canvas embedded in it.
>
> I want to update the plot on some event. I can draw the plot perfectly.
> But how do I clear the plot without removing the mouse movement
> capabilities.
>
> axes.cla, fixes the axis movement as well.
>
>
>
Just took a look at the cla() method in mplot3d and it seems that the
original author of the module put in a call to disable all user interaction
when ax.cla() is called.  I find this to be very odd and undesirable.  I
suspect that it was needed when the module was originally done, but I don't
think that is the case anymore.

Unless someone can tell me the reason for disabling mouse interaction for
mplot3d axes, I will submit a bug fix.

Ben Root
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Clearing 3D plots plotted in figure canvas

2012-03-09 Thread Sourabh Bajaj
I am creating a PyQT based tool. that has a Figure canvas embedded in it.

I want to update the plot on some event. I can draw the plot perfectly.
But how do I clear the plot without removing the mouse movement 
capabilities.

axes.cla, fixes the axis movement as well.


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users