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

Isoline Labels don't show up initially in GUI #1619

Closed
chaosphere2112 opened this issue Oct 19, 2015 · 2 comments
Closed

Isoline Labels don't show up initially in GUI #1619

chaosphere2112 opened this issue Oct 19, 2015 · 2 comments
Assignees
Milestone

Comments

@chaosphere2112
Copy link
Contributor

If you plot clt using a_isoline, it should display labels on the lines by default. If you open the plot configuration menu, it shows that labels are enabled for that graphics method, but they aren't displayed. If you click "apply", the labels appear.

@doutriaux1
Copy link
Contributor

@chaosphere2112 the default is to have the labels off:

import vcs
x=vcs.init()
iso=x.createisoline()
iso.list()
 ----------Isoline (Gi) member (attribute) listings ----------
graphics method = Gi
name = __isoline_430098060900995
projection = linear
xticlabels1 = *
xticlabels2 = *
xmtics1 = 
xmtics2 = 
yticlabels1 = *
yticlabels2 = *
ymtics1 =  
ymtics2 =  
datawc_x1 = 1e+20
datawc_y1 =  1e+20
datawc_x2 =  1e+20
datawc_y2 =  1e+20
datawc_timeunits =  days since 2000
datawc_calendar =  135441
xaxisconvert =  linear
yaxisconvert =  linear
label =  False
labelskipdistance =  0.0
labelbackgroundcolors =  None
labelbackgroundopacities =  None
line =  ['solid']
linecolors =  [1]
linewidths =  [1.0]
text =  None
textcolors =  None
level =  [[0.0, 1.0000000200408773e+20]]
clockwise =  [0]
scale =  [1.0]
angle =  [35.0]
spacing =  [1.0]

labels are off by default.

I think the issue is with the GUI turning it on when it shouldn't.

@chaosphere2112
Copy link
Contributor Author

Yup, I figured that out. Just finished sorting out the issue; blame VisTrails' tendency to turn things into strings and back out again. I now use vcs.VCS_validation_functions.checkFuzzyBoolean to validate the label setting.

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

No branches or pull requests

2 participants