jakevdp / ipywidgets-static

[obsolete] Static Widgets for IPython Notebooks
BSD 3-Clause "New" or "Revised" License
108 stars 24 forks source link

work around matplotlib bug #14

Closed mglerner closed 9 years ago

mglerner commented 9 years ago

In my version of matplotlib (1.4.2 installed via conda), obj._reprhtml() is returning None for matplotlib.figure.Figure objects. So, you divs that just contain "None" and the figures show up later.

This isn't a pretty patch, but it should solve the problem without contaminating anything else that I can see.

mglerner commented 9 years ago

Ugh. Apparently I'm a git newbie, and was working with an older version of ipywidgets, and hadn't merged upstream. Please ignore.