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

تغییر اندازه یک پارتیشن در LVM در Ubuntu 18.04

راه‌اندازی سریع و بی دردسر HTTP File Server

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

مشخصات

تبلیغات

آخرین ارسال ها

برترین جستجو ها

آخرین جستجو ها

ضایعات پلاستیک | گرانول پلاستیک بهترین های تهران روز نوشت ها دانلود نگارش و هلپر همیشه یه راه هست... کنکور به طعم لیمو نقاشی پارچه در شیراز پرسش مهر 1399