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

Disable adding axes in examples #13

Closed
Gillaugh opened this issue Jun 12, 2018 · 1 comment
Closed

Disable adding axes in examples #13

Gillaugh opened this issue Jun 12, 2018 · 1 comment
Labels
bug Uh-oh! Something isn't working as expected.

Comments

@Gillaugh
Copy link

In [3]: examples.BeamExample()
---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
<ipython-input-3-f6334ffa27c4> in <module>()
----> 1 examples.BeamExample()

~\AppData\Roaming\Python\Python36\site-packages\vtkInterface\examples\examples.py in BeamExample()
    117     plobj.AddMesh(grid, scalars=d[:, 1], stitle='Y Displacement',
    118                   rng=[-d.max(), d.max()], colormap=colormap)
--> 119     plobj.AddAxes()
    120     plobj.SetCameraPosition(cpos)
    121     plobj.AddText('Static Beam Example')

~\AppData\Roaming\Python\Python36\site-packages\vtkInterface\plotting.py in AddAxes(self)
   1286     def AddAxes(self):
   1287         """ Add axes actor at origin """
-> 1288         raise Exception('Disabled')
   1289         pass  # causes segfault
   1290         # axes = vtk.vtkAxesActor()

Exception: Disabled
@akaszynski
Copy link
Member

Fixed in 0.8.1

@banesullivan banesullivan added the bug Uh-oh! Something isn't working as expected. label Feb 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Uh-oh! Something isn't working as expected.
Projects
None yet
Development

No branches or pull requests

3 participants