Skip to content

Commit

Permalink
redirected function calling
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoDell committed Jul 14, 2023
1 parent 1d937dc commit b611368
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/experimental/viz_points_kde.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import numpy as np
from fury import window, actor
from vtk import vtkWindowToImageFilter
from fury.shaders import compose_shader, shader_apply_effects
from fury.lib import Texture
from fury.lib import Texture, WindowToImageFilter
from fury.io import load_image
from fury.utils import rgb_to_vtk
from matplotlib import colormaps
Expand Down Expand Up @@ -64,7 +63,7 @@ def window_to_texture(

r, g, b, a = border_color

windowToImageFilter = vtkWindowToImageFilter()
windowToImageFilter = WindowToImageFilter()
windowToImageFilter.SetInput(window)

windowToImageFilter.Update()
Expand Down

0 comments on commit b611368

Please sign in to comment.