You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In vega/altair_tiles#38 it came up that for certain tile providers, the tiles are missing in an exported PNG but they show up in a Jupyter notebook and in an SVG chart.
When saving to SVG and PNG, only the SVG image shows the tiles so seems like they get lost when downloading and embedding them.
chart.save("chart.svg")
chart.save("chart.png")
If you switch the provider in the above example to til.providers.OpenStreetMap.Mapnik, the tiles also show up in PNG. Sorry I don't know how to debug this any further but maybe it's something related to #63 where certain providers require specific request headers or so? In #64 you mentioned that we could set RUST_LOG to vl_convert but at least in a notebook, nothing shows up and I don't have cargo set up to install the CLI.
The text was updated successfully, but these errors were encountered:
In vega/altair_tiles#38 it came up that for certain tile providers, the tiles are missing in an exported PNG but they show up in a Jupyter notebook and in an SVG chart.
Minimal example
Chart displays as expected with tiles:
When saving to SVG and PNG, only the SVG image shows the tiles so seems like they get lost when downloading and embedding them.
If you switch the provider in the above example to
til.providers.OpenStreetMap.Mapnik
, the tiles also show up in PNG. Sorry I don't know how to debug this any further but maybe it's something related to #63 where certain providers require specific request headers or so? In #64 you mentioned that we could setRUST_LOG
tovl_convert
but at least in a notebook, nothing shows up and I don't have cargo set up to install the CLI.The text was updated successfully, but these errors were encountered: