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 }}
Repository navigation
Unable to set more than one font in legends, impossible to label data with Glyph from multiple languages. #15260
It is impossible to set more than one font in a legend making it impossible to label data in different languages, such as chinese, arabic and emojis, in the same legend. Allowing prop to accept lists of dictionaries would solve this issue.
While it would be nice if matplotlib searched for fonts with support for unicode characters, simply allowing lists of fonts to be specified for each handle label, rather than enforcing using one font.
Activity
mvarnold commentedon Sep 12, 2019
A work around for at least rendering the text is as follows
anntzer commentedon Sep 13, 2019
The problem is well understood, but would require major rearchitecting of the text handling machinery, so is unlikely to happen soon.
anntzer commentedon Nov 3, 2020
I'll close this in favor of #18883 which is essentially the same but points more explicitly at font-family fallbacks.