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

مشخصات

تبلیغات

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

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

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

وب شخصی محسن قائمی پور طراحی دکوراسیون داخلی پیرمرد هاف هافو law بهترین زیبا ترین دقیق ترین و داغ تریها یـــــــهـ دنــــــــیایـ متفـــــــاوتـ پایگاه خبری مکان نیوز آرام فیلم Taype va tarjome دخترماه