missingno set Chinese font

missingno set Chinese font

from pylab import mpl
# 设置显示中文字体
# mpl.rcParams["font.sans-serif"] = ["SimHei"]
mpl.rcParams["font.sans-serif"] = ["Arial Unicode MS"]
import missingno

missingno.matrix(data_zhizao, labels=True, label_rotation=45)

Because missingno is drawn with matplotlib, the font settings can refer to the settings of matplotlib
Reference:
https://blog.csdn.net/weixin_46474921/article/details/123783987
https://github.com/ResidentMario/missingno/tree/master /missingno

Guess you like

Origin blog.csdn.net/weixin_42754054/article/details/125243955