![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python学习
文章平均质量分 67
暮丶凉
这个作者很懒,什么都没留下…
展开
-
matplotlib常用函数
plt.figure 参数 描述 num 图像的标识符 figsize 图像的大小(w=6.4, h=4.8) 创建一个新图或者激活一个现有图(num参数指定图) plt.xlim(*args, **kwargs) 获得或者设置图片的x轴界限 left, right = xlim() # return the current xlim xlim((left, right)) # set the xlim to left, right xlim(left, right) .原创 2021-02-08 18:09:11 · 960 阅读 · 0 评论 -
logging模块
引言 此篇仅是个人对logging模块的学习记录,具体请详见 https://docs.python.org/zh-cn/3/library/logging.html?highlight=logging#logging.basicConfig logging 模块概念 日志(logging)是对软件执行时所发生事件的一种追踪方式。软件开发人员对他们的代码添加日志调用,借此来指示某事件的发生。一个事件通过一些包含变量数据的描述信息来描述(比如:每个事件发生时的数据都是不同的)。开发者还会区分事件的重要性,重要原创 2021-02-08 15:47:17 · 182 阅读 · 0 评论