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
First of all, thank you very much for this project. During my usage, I have already adjusted Matplotlib to display Chinese characters properly, but in DataMapPlot, Chinese characters cannot be displayed correctly, and I can only see boxes instead. I really appreciate your response.
The text was updated successfully, but these errors were encountered:
I think this is an issue with the font used not supporting chinese characters. Note that DataMapPlot does not use the default matplotlib font -- you will need to actually specify the right font to use for DataMapPlot.
You can select the font, both for labels, and for the title and subtitle, via the fontfamily keyword argument and via the title_keywords and sub_title_keywords arguments that take dictionaries where you can specify the font (again via fontfamily). If you select a font on your system that does display the characters correctly then it should all work.
First of all, thank you very much for this project. During my usage, I have already adjusted Matplotlib to display Chinese characters properly, but in DataMapPlot, Chinese characters cannot be displayed correctly, and I can only see boxes instead. I really appreciate your response.
The text was updated successfully, but these errors were encountered: