from bidi.algorithm import get_display
import arabic_reshaper
def make_farsi_text(x):
reshaped_text = arabic_reshaper.reshape(x)
farsi_text = get_display(reshaped_text)
return farsi_text
def make_farsi_text(x):
reshaped_text = arabic_reshaper.reshape(x)
farsi_text = get_display(reshaped_text)
return farsi_text
font_title = {'family': 'B Farnaz',
'color': 'red',
'weight': 'normal',
'size': 30,
}
font_labels = {'family': 'B Nazanin',
'color': 'black',
'weight': 'normal',
'size': 20,
}
برداشته شده از: http://imuhammad.ir/2017/09/23/farsi-plots-python/
انتقال فایل های VM بین ماشینهای ESXi
text ,farsi ,x ,reshaped ,arabic ,reshaper ,farsi text ,reshaped text ,arabic reshaper ,weight normal ,x farsi ,text return farsi ,arabic reshaper reshape ,text arabic reshaper
درباره این سایت