Skip to content

vcs cannot go back into interact mode #86

Description

@chaosphere2112
In [1]: dv3d = vcs.get3d_scalar('Hovmoller3D')

In [2]: x.plot(s,dv3d)
Warning, can't open data file 'None'
initCamera: Camera => ((0.0, 0.0, 540.0), (0.0, 0.0, 0.0), (0.0, 1.0, 0.0)) 
Out[2]: <vcs.displayplot.Dp at 0x11c48f320>

In [3]: x.interact()
/lgm/uvcdat/2.2.0/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vcs/VTKPlots.py:87: UserWarning: Press 'Q' to exit interactive mode and continue script execution
  warnings.warn("Press 'Q' to exit interactive mode and continue script execution")
 saved state data to file  <closed file '/lgm/uvcdat/2.2.0/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/DV3D/data/state.txt', mode 'w' at 0x11c47dc90>

In [3]: dv3d.list()
 ---------- DV3D (Gfdv3d) member (attribute) listings ---------
name = Hovmoller3D
axes = xyt
ToggleVolumePlot = None
BasemapOpacity = '[0.5]'
Camera = "{'Position': (-262.50460102175333, -326.28088967728246, 340.92831427414325), 'ViewUp': (-0.019506706986772843, 0.7297785655923166, 0.6834052484321093), 'FocalPoint': (0.0, 0.0, 0.0)}"
PointSize = None
Configure = None
ScaleColormap = '[0.0, 100.0, 1]'
ChooseColormap = None
ToggleSurfacePlot = None
SliceThickness = None
ScaleOpacity = '[1.0, 1.0]'
Colorbar = None
ToggleClipping = None
Animation = '[0.0]'
ZSlider = '( [0.31786257636913323], vcs.on )'
IsosurfaceValue = '[50.0]'
YSlider = '[-90.0]'
ScaleTransferFunction = '[0.0, 100.0, 1]'
VerticalScaling = '[1.0]'
XSlider = '[-180.0]'
ToggleSphericalProj = None

In [4]: dv3d.ToggleSurfacePlot = vcs.on

In [5]: x.interact()

At that point resizing the windows hangs the system comletely

Migrated from: CDAT/cdat#1295

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions