-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Gibberish / malformed / strange negative y-axis values #4118
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
@alexcjohnson is this related to the changes to |
I believe this will be fixed when we merge #4114 |
Or rather, the same fix is required. Recent versions of Plotly.js contain UTF-8 characters and hence must specify the encoding when loading the library. |
It seems like this is fixed now? |
I followed this example and got nonsense characters instead of negative signs because I failed to specify UTF-8 encoding, as discussed in plotly#4118
It worked for me when i added this line to the html file :
Python code :
|
Thanks for the advice, @RomFR57 . Closing this issue for now. If we rediscover a bug, I can reopen. |
This results in:
When I change to
full_html=True
, it works properly:This seems to be a recent bug because it worked fine before I upgraded Plotly. I’m using this version from conda-forge:
plotly 5.13.1 pyhd8ed1ab_0 conda-forge
More details on this issue:
https://community.plotly.com/t/gibberish-malformed-negative-y-axis-values-in-plotly-charts-in-python/71924/1
The text was updated successfully, but these errors were encountered: