Closed timmie closed 11 years ago
Just to clarify- are you referring to Matplotlib?
yes.
I'm not really sure that vincent can offer MPL anything- two different use cases. There are some people working on hooks for browser based plotting in MPL (see here: https://code.google.com/p/mplh5canvas/), but right now I think vincent's best use case is native embedding or ipython notebooks.
If I understand correctly, the grammar-of-graphics philosophy behind Vincent/Vega is quite different than Matplotlib. In a graphics system like Matplotlib, you can display anything. In a grammar-based system, you can only display things that are semantically meaningful representations of data. This is not to say one or the other is better.
see also my question on stackoverflow:
Why is there so much fuzz about d3 and alike? http://stackoverflow.com/a/16262506/1772165
Together with answer from @aflaxman it makes up what I was looking for. Thanks.
only thing I do not understand: Why could we not try to add grammar-of-graphics to MPL? on top of it?
@wrobstory I will test your code in near time.
A couple of related links worthy of collecting here: https://github.com/trifacta/vega/wiki/Vega-and-D3 http://jakevdp.github.io/blog/2013/03/23/matplotlib-and-the-future-of-visualization-in-python/ https://github.com/jakevdp/matplotlib_pydata2013
Thanks @aflaxman! I'm going to go ahead and close this issue for now, @timmie, you can keep asking questions in this thread if you want.
although your graphs look really nice, please add a statement on the docs: what does vega/vincent offer ofer MPL?