Skip to content

drawlogooff() does not always work #421

@muryanto1

Description

@muryanto1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions