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

drawlogooff() does not always work #421

Open
muryanto1 opened this issue Oct 21, 2019 · 0 comments
Open

drawlogooff() does not always work #421

muryanto1 opened this issue Oct 21, 2019 · 0 comments

Comments

@muryanto1
Copy link
Member

I ran this in 'jupyter notebook'
`[1]: # Sample data
import requests
r = requests.get("https://cdat.llnl.gov/cdat/sample_data/clt.nc",stream=True)
with open("clt.nc","wb") as f:
for chunk in r.iter_content(chunk_size=1024):
if chunk: # filter local_filename keep-alive new chunks
f.write(chunk)

[2]: import cdms2, vcs
f = cdms2.open('clt.nc')
d = f('clt')
x = vcs.init()
x.plot(d)

[3]: # turn off log and plot again
x.drawlogooff()
x.clear()
x.plot(d)
`
I have to run cell [3] twice to see the logo really go away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant