-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
embed_options in mimebundle is NoneType (error when calling chart.save in Altair to a PDF) #159
Comments
Hey @jowens, you don't have to import I can't reproduce this with a simple test, and looking at the code in https://github.com/altair-viz/altair/blob/v5.2.0/altair/utils/mimebundle.py, it doesn't look like One quick thing to look at is, what's the result of? import altair as alt
alt.renderers.options.get("embed_options", {}) Could you include this result in the Altair issue? |
Hate to make your life harder, really I do.
prints
|
Oh wait that's vegafusion. That's not you. |
I've disabled vf and everything works as expected. |
Oh, that's really helpful! I'll open a VegaFusion issue to avoid setting this to None. |
Having trouble interpreting the error message when calling
chart.save
to a PDF.I have
import vl_convert as vlc
(although no other references to vlc in my code) and I've donepip install vl-convert-python
but there's nothing in that trace that indicates it's dropped out of Altair into vl_convert. The Altair instructions are dead simple (https://altair-viz.github.io/user_guide/saving_charts.html) so I've clearly missed something.Keeping you busy today!
The text was updated successfully, but these errors were encountered: