-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
v5.20.0 New fillgradient not working #4549
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
Comments
I have the same issue. I tried to reproduce the example from plotly reference of fillgradient:
but I obtain the following result instead: using v5.20.0 as well. Thanks for your help. |
Hi @etienneceler, @wilmar-thomas What version of Plotly.js do you see if you hover over the Plotly logo in the corner? ![]() And what environment are you running these in? Is it a notebook / VS code? |
Hi @LiamConnors , you are right I see v2.20.0 |
Hi @LiamConnors, thanks for your prompt reply. v2.12.1 shows up for me when I hover. To add further context: I'm showing the plots in a notebook, furthermore, when saving the figure to a html, the rended html figure behaves as expected, with the gradient being correctly plotted. |
This is likely because VS Code uses its own Plotly.js and the version is often behind the latest version available in Plotly.py. https://plotly.com/python/troubleshooting/#vscode-notebook-nteract-and-streamlit-problems You should be able to use the installed Plotly.py Plotly.js version by setting the renderer when doing
|
@LiamConnors thank you very much! |
Hi all,
Been looking forward for this for a long time. New 5.20.0 version does not work for me:
Any help will be appreciated.
This is my second ´fig´, I already checked and I am using v5.20.0

The text was updated successfully, but these errors were encountered: