Open chiuhoward opened 9 months ago
When trying to provide the direction argument in actor.vector_text following https://fury.gl/latest/reference/fury.actor.html#vector-text, I get an unexpected keyword argument.
I am running fury from within a miniconda environment with jupyter notebook.
Code below (which is the example provided in the documentation) works perfectly fine without the direction argument.
[If reporting a bug, please include the following important information:]
import os import os.path as op import nibabel as nib import numpy as np
from dipy.io.streamline import load_trk from dipy.tracking.streamline import transform_streamlines
from fury import actor, window from fury.colormap import create_colormap
from PIL import Image
scene = window.Scene() l = actor.vector_text(text='Hello', direction=(0,1,1)) scene.add(l) window.show(scene)
TypeError Traceback (most recent call last)
Screenshot didn’t get uploaded properly but it’s the same as the code and traceback
Hello @chiuhoward ,
The Fury version you're using (0.8.0) does not support the direction in vector_text(). Try updating Fury to version 0.9.0 .
vector_text()
Description
When trying to provide the direction argument in actor.vector_text following https://fury.gl/latest/reference/fury.actor.html#vector-text, I get an unexpected keyword argument.
I am running fury from within a miniconda environment with jupyter notebook.
Code below (which is the example provided in the documentation) works perfectly fine without the direction argument.
Way to reproduce
[If reporting a bug, please include the following important information:]
from dipy.io.streamline import load_trk from dipy.tracking.streamline import transform_streamlines
from fury import actor, window from fury.colormap import create_colormap
from PIL import Image
scene = window.Scene() l = actor.vector_text(text='Hello', direction=(0,1,1)) scene.add(l) window.show(scene)
TypeError Traceback (most recent call last)
Screenshot didn’t get uploaded properly but it’s the same as the code and traceback
Hello @chiuhoward ,
The Fury version you're using (0.8.0) does not support the direction in
vector_text()
. Try updating Fury to version 0.9.0 .