lip99-TW
Results
2
comments of
lip99-TW
I solved this issue in two steps. 1. As Atrbear mentioned, put a Chinese font into /usr/share/fonts. 2. Use the options parameter to specify the encoding as UTF-8. Ex. imgkit.from_file(htmlfilename,...
I have a similar issue, the effect of style.bar is not showing up in the image. df_fmt = df.style.bar(subset=['Prob(%)'], color=["green","red"], align="zero") dfi.export(df_fmt, pngfile, table_conversion='matplotlib')