ipyvolume
ipyvolume copied to clipboard
Cannot create figure (TraitError)
I am unable to create an ipyvolume figure in a jupyter notebook due to a trait error:
import ipyvolume as ipv
ipv.figure()
Gives me the following error:
TraitError: The 'matrix_world' trait of a Figure instance contains a CFloat of a List which expected a float, not the NoneType None.
This error appeared for me last week, presumably from me upgrading something else in my python stack.
This behavior is seen with both ipyvolume v0.5.2 and v0.6.0a6
- Jupyter Notebook 6.1.4
- Python 3.8.5
I have also tested this with Python 3.7, which results in the same error. I have tried completely rebuilding my python installation, which has not fixed the issue.
I am having the exact same issue. Reverting the module traitlets
back to version 4.3.1
solved this problem temporally.
Curious if this is still an issue, haven't seen this myself.
The problem still exists for me. I am using Python 3.7.7 on macOS 11.6.
I am getting the same error with my current ipyvolume
(version 0.5.2) and latest traitlets
(version from 5.0.0 to 5.1.1).
I don't get this error anymore. (However I also don't get any figure at all to show in my notebook at this point, probably unrelated to this issue.)
Python 3.9.7 ipyvolume 0.5.2 traitlets 5.1.0