Questions tagged [mpld3]

The mpld3 project brings together Matplotlib, the popular Python-based graphing library, and D3js, the popular Javascript library for creating interactive data visualizations for the web.

The mpld3 project brings together Matplotlib, the popular Python-based graphing library, and D3js, the popular Javascript library for creating interactive data visualizations for the web. The result is a simple API for exporting your matplotlib graphics to HTML code which can be used within the browser, within standard web pages, blogs, or tools such as the IPython notebook.

154 questions
0
votes
1 answer

mpld3 tooltips fails when changing XTick locations

I'm having a bit of trouble with the following run in an ipython notebook on mac osx with python 3.3: import mpld3 from mpld3 import plugins mpld3.enable_notebook() fig, ax = plt.subplots() points = plt.scatter([0,3,5, 9], [2,4,6, 8]) labels= ['a',…
dylkot
  • 2,275
  • 2
  • 20
  • 24
0
votes
2 answers

MPLD3: label information of barplot

I'm trying to extend the example provided here: from mpld3 import utils class ClickInfo(plugins.PluginBase): """Plugin for getting info on click""" JAVASCRIPT = """ mpld3.register_plugin("clickinfo", ClickInfo); ClickInfo.prototype…
hhh
  • 1,913
  • 3
  • 27
  • 35
-1
votes
1 answer

Generating matplotlib graph which is refreshed real-time on web browser using mpld3

I have realized the dynamic graph drawing with matplotlib, and it can refresh graph real-time. Now, I want to generate matplot figure on Web Browers using mpld3. It can export to webpage, but can only run one time and graph won't be refreshed…
Jiayu Sun
  • 3
  • 2
-2
votes
1 answer

Interactive chart Library for web browser supporting click and drag of points

I've developed an application in pyqt and matplotlib which allows the user to drag and edit plot data and I need to provide the same functionality in a web browser. I've looked at d3.js but the learning curve seems too steep for the time I have…
CSharp
  • 1,396
  • 1
  • 18
  • 41
1 2 3
10
11