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
While trying to plot a heatmap, with labels in Devanagari script, I observe that words with vowel markers that come before the consonant are being rendered incorrectly in the plot.
The issue seems to lie only within the plot and is correctly rendered outside the plot in other Jupyter notebook output cells. I have imported Noto Serif Devanagari Thin of format ".ttf" in the font_manager of matplotlib.
In the expected outcome, the highlighted label in the bug summary image should be rendered as कंगियारी. In the current output it is being rendered like कंगयिारी which is wrong.
Additional information
I observe that words with vowel markers that come before the consonant are being rendered incorrectly in the plot. This makes me believe that this might be due to some old font engine which is being used in matplotlib to render Unicode characters.
Operating system
Windows
Matplotlib Version
3.4.3
Matplotlib Backend
module://matplotlib_inline.backend_inline
Python version
3.9.7
Jupyter version
6.4.5
Installation
pip
The text was updated successfully, but these errors were encountered:
Bug summary
While trying to plot a heatmap, with labels in Devanagari script, I observe that words with vowel markers that come before the consonant are being rendered incorrectly in the plot.
The issue seems to lie only within the plot and is correctly rendered outside the plot in other Jupyter notebook output cells. I have imported Noto Serif Devanagari Thin of format ".ttf" in the font_manager of matplotlib.
Code for reproduction
Actual outcome
Expected outcome
In the expected outcome, the highlighted label in the bug summary image should be rendered as कंगियारी. In the current output it is being rendered like कंगयिारी which is wrong.
Additional information
I observe that words with vowel markers that come before the consonant are being rendered incorrectly in the plot. This makes me believe that this might be due to some old font engine which is being used in matplotlib to render Unicode characters.
Operating system
Windows
Matplotlib Version
3.4.3
Matplotlib Backend
module://matplotlib_inline.backend_inline
Python version
3.9.7
Jupyter version
6.4.5
Installation
pip
The text was updated successfully, but these errors were encountered: