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
{{ message }}
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
We are going to archive this repo, so I'm closing all the open issues and PRs before doing so. Try out the new options for saving charts mentioned above and if you run into issues, please open an issue directly in the altair or vl-convert repo.
Chinese fonts are displayed normally in HTML format. Garbled characters when exporting to PNG format.
`import pandas as pd
import altair as alt
from altair_saver import save
df = pd.DataFrame({"x":[0.5,1,2],
"y" : [0.5,1,2],
"text": ["你好", "中国", "明天"]})
pic = alt.Chart(df).mark_text().encode(
x = "x",
y= 'y',
text ='text'
)
save(pic, "text.png")`
The text was updated successfully, but these errors were encountered: