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
Incomplete Text Render when Chinese and English characters are used together in an upright vertical way. The Chinese characters after the English characters will only show the left half.
Code for reproduction
importmatplotlib.pyplotaspltplt.rcParams['font.sans-serif'] = ['SimHei']
plt.text(0, 0, '\n'.join("现代美学")) #all chinese is fineplt.text(0.2, 0, '\n'.join("hello world 123")) # all english/number is fineplt.text(0.4, 0, '\n'.join("现代hello美学")) #a mixture results in incomplete render of the chinese characters after the English charsplt.show()