By calling the function plt_set_font_style() before saving or showing a figure, the font style "SimHei" will apply to all the text in a figure. This type of font style supports Chinese characters. If you prefer other font styles, just give where it's stored as an input argument to plt_set_font_style() , and all the text in the figure will be presented in that style.
By calling the function
plt_set_font_style()
before saving or showing a figure, the font style "SimHei" will apply to all the text in a figure. This type of font style supports Chinese characters. If you prefer other font styles, just give where it's stored as an input argument toplt_set_font_style()
, and all the text in the figure will be presented in that style.