« Return to Thread: Clearing 3D plots plotted in figure canvas

Re: Clearing 3D plots plotted in figure canvas

by Benjamin Root-2 :: Rate this Message:

| View in Thread



On Thu, Mar 8, 2012 at 4:02 PM, Sourabh Bajaj <sourabhbajaj90@...> 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@...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

 « Return to Thread: Clearing 3D plots plotted in figure canvas