Replies: 2 comments 10 replies
-
I think it would be very useful. I started trying it here but didn't get very far: https://github.com/altair-viz/altair_matplotlib Feel free to revive that effort if you're interested! |
Beta Was this translation helpful? Give feedback.
4 replies
-
I'm now looking for this. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While working on the VegaFusion mime renderer, it occurred to me that the ability to convert Vega-Lite to Vega and then pre-evaluate the data transformations in the Vega spec would make it relatively tractable to write translators from these pre-evaluated Vega specs to other plotting libraries, like matplotlib. (This would be for non-interactive charts only, I don't think translating interactivity to another library would be possible)
I'm curious whether folks would find it useful, in practice, to be able to convert (non-interactive) Altair Charts to Matplotlib figures. One motivation that comes to mind would be to take advantage of Matplotlib's support for LaTeX typesetting. And even though VlConvert makes static image export a lot easier, there are probably still advantages to using Matplotlib for creating certain figures for publications.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions