Skip to content Skip to sidebar Skip to footer

Embed Interactive Matplotlib Plot In A Webpage

I have a simple matplotlib scatter plot which uses this code to display an annotation when points are clicked on. I need to embed this in a webpage. How should I do this? I found s

Solution 1:

I don't think you'll be able to use the same code that you used before in a webpage, but using a library like bokeh and the hover tool would make it fairly easy to get a similar behaviour

http://docs.bokeh.org/en/latest/docs/user_guide/tools.html#hovertool

Post a Comment for "Embed Interactive Matplotlib Plot In A Webpage"