摘要: # 导入画图函数 import matplotlib.pyplot as plt # 创建画布, figsize:指定图的长宽, dpi:图像的清晰度,返回fig对象 plt.figure(figsize=(20, 8), dpi=100) # 创建X,Y坐标轴数据 x = [1,2,3,4,5] 阅读全文
posted @ 2022-12-21 16:14 ForLivetoLearn 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 安装字体 安装字体程序 yum -y install cups-libs fontconfig ttmkfdir 创建中文字体目录 mkdir /usr/share/fonts/chinese chmod -R 755 /usr/share/fonts/chinese 在windows中查找字体,上 阅读全文
posted @ 2022-12-21 15:50 ForLivetoLearn 阅读(51) 评论(0) 推荐(0) 编辑