-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.0.0 release issue for Shiny for Python apps: "Please install anywidget to use the FigureWidget class" #4996
Comments
For a reproducible example you can use one of the template apps provided by shiny that uses plotly e.g. the dashboard-tips template. Once you have shiny installed you can download the template with Using plotly 6.0.0 the plots fail as shown in the screenshot below: However, if you downgrade plotly to 5.24.1 the dashboard renders as expected: Here is the full traceback (from the 6.0.0 version):
|
@marthacryan I see that This is a UX recommendation; the fix for this issue @igi-chris might be for Posit to update their templates. You can also:
manually in your environment to resolve the issue. |
I agree! One thing I'll note though is that this is identical to the behavior before the 6.0.0 release except that |
I am building a shiny for python dashboard. On the latest deployment plotly updated from 5.24.1 -> 6.0.0 and the plots no longer render with the error: "Please install anywidget to use the FigureWidget class". For now I have worked around the issue by specifying the version in my requirements.txt file
plotly==5.24.1
The text was updated successfully, but these errors were encountered: