-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
No barcharts in Jupyter Lab #849
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
That's sn issue with the JupyterLab renderer but is fixed in the latest version 0.10.0 You should just need to update your labextension. |
@dhirschfeld I'm newish to I was not clear on whether or not it was a separate package or part of
I only have
Running @hiramf 's example above: Am I still out of date somewhere I'm not aware of? |
Returning to this. Getting to know
I get the same blank plot above using the example right out of the offline instructions:
When using the developer tools console in If it's of use at all, I've been fiddling with this,
|
I can confirm that with current JupyterLab, and installing the extension via
the following code: import plotly.offline as py
from plotly.graph_objs import *
import plotly.graph_objs as go
py.init_notebook_mode()
trace = go.Heatmap(z=[[1, 20, 30],
[20, 1, 60],
[30, 60, 1]])
data = [trace]
py.iplot(data, filename='basic-heatmap') renders fine: I've been testing more complex plots, including interactive controls: and 3-d plots: and everything is working without a glitch. I'm going to close this one for now as I think it's resolved, feel free to ping if it shouldn't. cc @jegonzal who authored the code from the above screenshots. All working great on JLab! |
Plotting offline in Jupyter Lab produces a line chart instead of a bar chart.
Using this code in Jupyter Lab (0.27.0):
The text was updated successfully, but these errors were encountered: