문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top