Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

BUG: make selenium saver respect chart theme #22

Merged
merged 1 commit into from
Jan 31, 2020

Conversation

jakevdp
Copy link
Member

@jakevdp jakevdp commented Jan 31, 2020

Partially fixes #21

@jakevdp
Copy link
Member Author

jakevdp commented Jan 31, 2020

I still would like to figure out how to make the .vg.json save path reflect the theme.

@Amarounek
Copy link

Well, I can also show the difference between figure save it "manually" and by saver. I think that such a huge difference is unintended. Should I open new issue topic for it?

@jakevdp
Copy link
Member Author

jakevdp commented Jan 31, 2020

Sure, open an issue and show the difference. Note that the nodejs-based savers do not support themes, even after this PR is merged, and there does not appear to be any way to fix that issue at the moment due to a limitation in vega-cli.

@jakevdp
Copy link
Member Author

jakevdp commented Jan 31, 2020

I'm going to merge this – it appears to correct the theme issue for selenium + png & svg.

@jakevdp jakevdp merged commit df325f8 into altair-viz:master Jan 31, 2020
@jakevdp jakevdp deleted the selenium-theme branch January 31, 2020 16:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chart.save produces different colors between html, png, and svg, not using enabled theme
2 participants