PhilReinhold / liveplot

visualize your python data as it comes in, with minimal intrusion
11 stars 5 forks source link

imageView can not be cleared #2

Closed geyang closed 10 years ago

geyang commented 10 years ago

Hi Phil,

It looks like the imageView does not have a clear() method. Is there a good way to add that? I have added a TODO comment tag to that part of the code. You will see it after merging my pull request #1

PhilReinhold commented 10 years ago

I'm confused. It does have a clear method. https://github.com/PhilReinhold/liveplot/blob/master/liveplot/widgets.py#L217-219

geyang commented 10 years ago

Let me have a look. This might have shows up after my merge from your master.— Sent from Mailbox for iPhone

On Fri, Mar 14, 2014 at 11:58 AM, Phil Reinhold notifications@github.com wrote:

I'm confused. It does have a clear method. https://github.com/PhilReinhold/liveplot/blob/master/liveplot/widgets.py#L217-219

Reply to this email directly or view it on GitHub: https://github.com/PhilReinhold/liveplot/issues/2#issuecomment-37670659

geyang commented 10 years ago

Hi Phil

It looks like right now if I type

c.clear('plot name')

in the console, the image plot does not get cleared.

Ge

PhilReinhold commented 10 years ago

Check out the 'Append Z' test in the test runner. Does re-running it clear the plot at the beginning? Because that's what I'm seeing here.

PhilReinhold commented 10 years ago

When I was testing merging your code, getting rid of that empty clear method restored the clear functionality for me.