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
{{ message }}
Repository navigation
add traitlets as a dependency in configuration files? #3476
Hi
I notice that traitlets are used as direct dependency in source code file-packages/python/plotly/plotly/basewidget.py
. But traitlets is not listed in any configuration file. So I am wondering if traitlets should be listed in configuration files such as setup.py.
To use the FigureWidget one needs to install ipywidget which depends on traitlets. ipywidgets is not a hard dependency of this library because lots of folks don't use FigureWidget :)
Thanks for your reply.
But I think even traitlets is not hardcore dependency, maybe it should be introduced as an extra dependnecy for the project.
Maybe it can be listed in extra requirements.txt in the sub-folders?
changed the title [-]should traitlets be listed as a dependency in configuration files?[/-][+]add traitlets as a dependency in configuration files?[/+]on Aug 12, 2024
Activity
nicolaskruchten commentedon Nov 17, 2021
To use the
FigureWidgetone needs to installipywidgetwhich depends ontraitlets.ipywidgetsis not a hard dependency of this library because lots of folks don't useFigureWidget:)yuluc123 commentedon Nov 22, 2021
Thanks for your reply.
But I think even traitlets is not hardcore dependency, maybe it should be introduced as an extra dependnecy for the project.
Maybe it can be listed in extra requirements.txt in the sub-folders?
[-]should traitlets be listed as a dependency in configuration files?[/-][+]add traitlets as a dependency in configuration files?[/+]