You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yxvsx plots a black screen when no text is drawn on the screen and box.priority = 0. See script below:
import vcs, cdms2
# Open data file:
cdmsfile = cdms2.open( 'clt.nc' )
# Extract a 3 dimensional data set and get a subset of the time dimension
data = cdmsfile('v', plev1=(200.0), longitude=(-180, -180), latitude = (-90., 90.), squeeze=1)
# Initial VCS:
x = vcs.init()
# Assign the variable "cf_asd" to the persistent 'ASD' isofill graphics methods.
g = x.createyxvsx( 'UVWG1D', 'default' )
# Template that is a dud
t2=x.createtemplate('UVWG1D_DUD', 'UVWG')
t2.dataname.priority = 0
t2.xname.priority = 0
t2.yname.priority = 0
t2.zname.priority = 0
t2.tname.priority = 0
t2.comment1.priority = 0
t2.comment2.priority = 0
t2.comment3.priority = 0
t2.comment4.priority = 0
t2.source.priority = 0
t2.title.priority = 0
t2.units.priority = 0
t2.mean.priority = 0
t2.min.priority = 0
t2.max.priority = 0
t2.xvalue.priority = 0
t2.yvalue.priority = 0
t2.xunits.priority = 0
t2.yunits.priority = 0
t2.zunits.priority = 0
t2.tunits.priority = 0
t2.box1.priority = 0 # toggle between 0 and 1 to see it work and not work.
x.plot( data, g, t2 )
# If box1. priority is 0 but you draw something it will work. (data, g, t2, souce=' ') works if box1.priority is 0
The text was updated successfully, but these errors were encountered:
yxvsx plots a black screen when no text is drawn on the screen and box.priority = 0. See script below:
The text was updated successfully, but these errors were encountered: