Skip to content

Commit

Permalink
Merge pull request #627 from arybinski/add_opacity_to_point
Browse files Browse the repository at this point in the history
BF: Add missing opacity property to point actor
  • Loading branch information
arokem committed Apr 14, 2015
2 parents 49cb6e3 + 13a913f commit bb47d2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dipy/viz/fvtk.py
Expand Up @@ -623,6 +623,7 @@ def point(points, colors, opacity=1, point_radius=0.1, theta=8, phi=8):
mapper.SetInputData(glyph.GetOutput())
actor = vtk.vtkActor()
actor.SetMapper(mapper)
actor.GetProperty().SetOpacity(opacity)

return actor

Expand Down

0 comments on commit bb47d2e

Please sign in to comment.