絮絮叨叨
tjuarch
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
matplotlib中创建axes的几种方法
大概有这么几种吧 .Figure.add_subplot .Figure.add_axes .pyplot.subplot .pyplot.axes .Figure.subplots .pyplot.subplots 1 .Figure.add_subplot https://matplotlib.org/stable/api/figure_api.html?highlight=figure%20add_subplot#matplotlib.figure.Figure.add_subplot fig = p原创 2021-06-08 01:16:14 · 1551 阅读 · 0 评论 -
matplotlib中设置ax的坐标系
目前能搜索到的方法有两种: 第一种 plt.figure() plt.subplot(111, projection="lambert") 第二种 fig = plt.figure() ax = fig.gca(projection='3d') ax = fig.add_subplot(1, 21 1, projection='3d') 第二种好一些。原创 2021-03-23 00:07:38 · 1258 阅读 · 0 评论 -
关于python的time模块
关于python的time模块的一般使用套路。 time.time() 生成当前的时间戳,格式为10位整数的浮点数。 time.localtime() 生成时间元组 time.strftime()根据时间元组生成时间格式化字符串。 time.strptime()根据时间格式化字符串生成时间元组。time.strptime()与time.strftime()为互操作。 time.localtime(...原创 2020-01-29 10:39:50 · 241 阅读 · 0 评论
分享