question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GraphWidget doesn't show any plot in Jupyter

See original GitHub issue

Hi guys,

From this tutorial,

http://nbviewer.jupyter.org/gist/chriddyp/9827cb5086cfab8da092/Widgets - Contour Plotter.ipynb

I execute this code snippets in Jupyter

import plotly.plotly as py
from plotly.graph_objs import *
import plotly.tools as tls

import json
import numpy as np
import math
from IPython.display import display
from plotly.widgets import GraphWidget


contour_plot = GraphWidget('https://plot.ly/~bronsolo/63')
line_plot = GraphWidget('https://plot.ly/~chris/2150')

display(contour_plot)
display(line_plot)

But it doesn’t show any plot in Jupyter. In fact, any graphwidget that I created also didn’t show any plot in Jupyter. Please advice. Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
msschwartz21commented, Apr 20, 2017

I am still encountering this issue. Is there a solution that doesn’t involve downgrading packages?

1reaction
yankevcommented, May 30, 2016

@napjon I’ve got it running on ipython version 4.1.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plot won't show in Jupyter - Stack Overflow
I have the problem that the plot at 1.3 won't appear when I do it in Jupyter, I only get the following output:...
Read more >
yfiles-jupyter-graphs - PyPI
A graph diagram visualization widget for Jupyter Notebooks and Labs powered by yFiles for HTML. A screenshot showing the yFiles graph widget in...
Read more >
FigureWidget and GraphWidget not working in colab
I assume using FigureWidget would be the best way. However… The following does not work in colab: import plotly.graph_objects as go f =...
Read more >
How to embed a Matplotlib graph to your Tkinter GUI
Here's where our embedding code begins. First we are defining our figure, then adding a subplot. From there, we plot as usual some...
Read more >
matplotlib.pyplot.show — Matplotlib 3.6.2 documentation
Enable interactive mode, which shows / updates the figure after every plotting command, so that calling show() is not necessary.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found