-
-
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
Unicode symbols in jupyter notebook plots (plotly3) #1289
Comments
Thanks for taking the time to report this @Gorfar, this looks like a problem on Python 2. On Python 3.6: import plotly.graph_objs as go
layout=go.Layout()
layout.xaxis.title = u"μ"
fig = go.FigureWidget(layout=layout)
fig On Python 2.7:
There is some exception handling obscuring the strack trace, but I think the issue is with the use of plotly.py/_plotly_utils/basevalidators.py Lines 968 to 969 in 618ee2d
plotly.py/_plotly_utils/basevalidators.py Lines 941 to 944 in 618ee2d
We should only really do these |
Hello!
I am using plotly3 for plots in Jupyter notebook. If I want to add an unicode symbol in an axis title it doesn't work, however, it worked in the plotly2.
In the following code
I get the error " 'ascii' codec can't encode character u'\u03bc' in position 0: ordinal not in range(128)"
I use anaconda environment on OpenSuse Leap 42.3
conda=4.5.11
ipykernel=4.9.0
ipython=5.8.0
plotly=3.4.1
plotly-orca=1.1.1
python=2.7.15
The text was updated successfully, but these errors were encountered: