You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:]
Code example
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)
<ipython-input-2-41aa93e6da7e> in <module>
1 scene = window.Scene()
----> 2 l = actor.vector_text(text='Hello', direction=(0,1,1))
3 scene.add(l)
4 window.show(scene)
TypeError: vector_text() got an unexpected keyword argument 'direction'
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:]
Relevant images (if any)
<img width="670" alt="image" src="https://github.com/fury-gl/fury/assets/137316255/481857b8-1e82-46ab-8109-233c60fe10e1”>
Operating system and versions (run
python -c "from fury import get_info; print(get_info())”
){'fury_version': '0.8.0', 'pkg_path': '/Users/howardchiu/miniconda3/envs/pyAFQ/lib/python3.9/site-packages/fury', 'commit_hash': 'b937ff3418e7c64b0fa89921a54c083ff78dc055', 'sys_version': '3.9.18 (main, Sep 11 2023, 08:25:10) \n[Clang 14.0.6 ]', 'sys_executable': '/Users/howardchiu/miniconda3/envs/pyAFQ/bin/python', 'sys_platform': 'darwin', 'numpy_version': '1.24.3', 'scipy_version': '1.9.1', 'vtk_version': '9.3.0', 'matplotlib_version': '3.8.2', 'dipy_version': '1.7.0'}
The text was updated successfully, but these errors were encountered: