2

I've been working with data visualization using Python. To do such think, I've been using Matplotlib to get the visualizations. However, now I have some demand to provide more interactive visualization, besides a complete GUI. I'm wondering how could I do such thing without losing all work done so far in Python, i.e., if there is some tool for Python to do such thing or if I have to go to D3 or something like it. Here there is an example of what I have to achieve. I'm not building an web app, I just need to provide a good GUI and data interaction.

Thank you in advance.

Saullo G. P. Castro
  • 56,802
  • 26
  • 179
  • 234
pceccon
  • 9,379
  • 26
  • 82
  • 158
  • d3 would be a good solution if you're building a web app, but I think it would be hard to use with a regular python script – yuvi Feb 28 '14 at 18:07

2 Answers2

2

As well as targeting a web app using frameworks as suggested by mwaskom, you could try data visualization / plotting libraries that offer more interactivity than matplotlib, such as

I've used PyQtGraph myself in several small projects.

jmetz
  • 12,144
  • 3
  • 30
  • 41
  • Hi, @jmetz. Thank you for your answer. This packages is useful for building GUIs or to do such thing I should user another library? I have to provide both. Thank you. – pceccon Mar 01 '14 at 17:44
  • `PyQtGraph` has included classes that will create the GUI for you, and pyqwt provides a qt widget which can be embedded in any Qt UI. – jmetz Mar 01 '14 at 19:29
1

You could check out the mpld3 project, which aims to provide a translation between matplotlib graphics and d3. It's pretty new and rapidly developing, but it's worth at least keeping an eye on.

For a different approach, there's the vincent library, which has its own API but similarly produces d3 (by way of Vega) for making graphics that target the web in Python.

mwaskom
  • 46,693
  • 16
  • 125
  • 127