Question

I'm using mpld3 to visualize interactive plots in ipython notebook

It used to work fine. I installed a new computer, with the latest versions of Ipython and Matplotlib.

But when I run:

enable_notebook()
plot([1,2],[1,2])

instead of getting a plot I get only:

Out[8]: [<matplotlib.lines.Line2D at 0x5cb0850>]

what am I doing wrong?

Was it helpful?

Solution

This is probably related to upgrading the library, and having old versions of the javascript hanging around. We haven't put it up on the mpld3 website yet, but you can see some relevant information in the FAQ section of the mpld3 git repository.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top