Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x.close() brokn if more than one plot on #961

Closed
doutriaux1 opened this issue Jan 13, 2015 · 6 comments
Closed

x.close() brokn if more than one plot on #961

doutriaux1 opened this issue Jan 13, 2015 · 6 comments
Assignees
Milestone

Comments

@doutriaux1
Copy link
Contributor

@doutriaux1 doutriaux1 commented Jan 13, 2015

import vcs
import os,cdms2
f=cdms2.open(os.path.join(sys.prefix,"sample_data","clt.nc"))
s=f("clt")
x=vcs.init()
y=vcs.init()
x.plot(s)
y.plot(s)
x.close() # only clears
y.close() # only clears
@doutriaux1 doutriaux1 added the VCS label Jan 13, 2015
@doutriaux1 doutriaux1 added this to the 2.2 milestone Jan 13, 2015
@williams13
Copy link
Contributor

@williams13 williams13 commented Jan 13, 2015

This worked for earlier releases and there is a CTEST for this. Is the CTEST not setup properly?

-Dean

From: Charles Doutriaux <notifications@github.commailto:notifications@github.com>
Reply-To: UV-CDAT/uvcdat <reply@reply.github.commailto:reply@reply.github.com>
Date: Tuesday, January 13, 2015 2:26 PM
To: UV-CDAT/uvcdat <uvcdat@noreply.github.commailto:uvcdat@noreply.github.com>
Subject: [uvcdat] x.close() brokn if more than one plot on (#961)

import vcs
import os,cdms2
f=cdms2.open(os.path.join(sys.prefix,"sample_data","clt.nc"))
s=f("clt")
x=vcs.init()
y=vcs.init()
x.plot(s)
y.plot(s)
x.close() # only clears
y.close() # only clears


Reply to this email directly or view it on GitHubhttps://github.com//issues/961.

@doutriaux1
Copy link
Contributor Author

@doutriaux1 doutriaux1 commented Jan 13, 2015

I don't think it ever worked properly. Celine just spotted that the labels are erroneous by default. They are correct if set manually (so diags are ok). I's just the "Auto" one. ctest passes because baselines are wrong. Once I fix this I expect most ctest to fail.

@williams13
Copy link
Contributor

@williams13 williams13 commented Jan 13, 2015

Aashish worked on this months ago with the release of v2.0.0. We all confirmed that it was working correctly.

From: Charles Doutriaux <notifications@github.commailto:notifications@github.com>
Reply-To: UV-CDAT/uvcdat <reply@reply.github.commailto:reply@reply.github.com>
Date: Tuesday, January 13, 2015 2:36 PM
To: UV-CDAT/uvcdat <uvcdat@noreply.github.commailto:uvcdat@noreply.github.com>
Cc: Dean Williams <williams13@llnl.govmailto:williams13@llnl.gov>
Subject: Re: [uvcdat] x.close() brokn if more than one plot on (#961)

I don't think it ever worked properly. Celine just spotted that the labels are erroneous by default. They are correct if set manually (so diags are ok). I's just the "Auto" one. ctest passes because baselines are wrong. Once I fix this I expect most ctest to fail.


Reply to this email directly or view it on GitHubhttps://github.com//issues/961#issuecomment-69834978.

@doutriaux1
Copy link
Contributor Author

@doutriaux1 doutriaux1 commented Jan 13, 2015

sorry my comment is for #960 for this case it works if you have only ONE canvas open. assigning @aashish24 to it then.

@doutriaux1 doutriaux1 added this to the 2.3 milestone Feb 24, 2015
@doutriaux1 doutriaux1 removed this from the 2.2 milestone Feb 24, 2015
@durack1 durack1 added the Bug label May 12, 2015
@durack1
Copy link
Member

@durack1 durack1 commented May 12, 2015

@doutriaux1 I am happy to test this within the VNC environment with spyder that I'm using, it would seem to be a continuing issue..

@doutriaux1
Copy link
Contributor Author

@doutriaux1 doutriaux1 commented Jan 4, 2016

seems to work again

@doutriaux1 doutriaux1 closed this Jan 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants