Hello, sorry if noob question but:

I have a program where I have to update the number of plots I want to 
show.( Might need 3, or 15. A button should make the change)
I created a GraphicsLayoutWidget and put the plots there. When I click my 
button, thus wanting to delete all the plots and layouts to then create 
others, I use my_graphicsLayoutWidget.clear() but it only delete de lines 
and leave the squares of what I assume is the layouts.

How can I erase every single item in a GraphicsLayoutWidget?

png attached showing the problem. When checkbox is pressed/unpressed I 
execute the function that should clear all plots and layouts to generate 
new ones.

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/462a9200-e37b-435e-9897-ff545db392c3n%40googlegroups.com.

Reply via email to