Hi,
I need to use some unicode text in my plots (Devanagari - Marathi). Locally the font manager finds the font. How do I do that in the streamlit app? Do I include the ttf file? Or add something to the requirements file? How? I am not using anything non-standard here otherwise. Below is the code snippet that uses the ‘Sanskrit 2003’ font, and the deployed version is here:
https://share.streamlit.io/ashishmahabal/lamal/main/lamal.py
lamalarts[‘Topic’].value_counts()[:10].sort_values().plot(kind=“barh”)
for tick in ax.get_yticklabels():
tick.set_fontname(“Sanskrit 2003”)
Thank you for the help.
-ashish