Matplotlib的用法
来源:互联网 发布:部落冲突详细数据 编辑:程序博客网 时间:2024/06/14 23:08
在做泰坦尼克 数据分析的时候遇到这样的一个函数subplot2grid
下面就简单实现一下关于这个函数的功能
from matplotlib import pyplot as plt
ax1 = plt.subplot2grid((3,3), (0,0), colspan=3)
ax2 = plt.subplot2grid((3,3), (1,0), colspan=2)
ax3 = plt.subplot2grid((3,3), (1, 2), rowspan=2)
ax4 = plt.subplot2grid((3,3), (2, 0))
ax5 = plt.subplot2grid((3,3), (2, 1))
plt.suptitle(“subplot2grid”)
plt.show()
阅读全文
0 0
- matplotlib的用法
- 简单的matplotlib用法
- Matplotlib的用法
- matplotlib中Axes的用法札记
- matplotlib 绘图库的简单用法
- matplotlib数据展现的基本用法
- python-matplotlib用法示例
- python中的matplotlib用法
- Matplotlib一些基础用法
- matplotlib的基本用法(一)——figure的使用
- matplotlib的基本用法(二)——设置坐标轴
- matplotlib的基本用法(三)——调整坐标轴
- matplotlib的基本用法(四)——设置legend图例
- matplotlib的基本用法(五)——添加annotation
- matplotlib的基本用法(六)——设置坐标轴label
- matplotlib的基本用法(七)——绘制散点图
- matplotlib的基本用法(八)——绘制柱状图
- matplotlib的基本用法(十)——绘制Image
- Android Retrofit下载网络图片
- 448. Find All Numbers Disappeared in an Array
- 大家好
- JSP简介,9个隐藏对象
- Oracle_SQL_day03_ 多表查询之 :连接查询
- Matplotlib的用法
- 【input】文件上传控件隐藏和前端类型限制
- Linux无法连接外网
- Spring中InitializingBean接口使用
- Oracle中发生表加锁、死锁的原因,查看,与解决方法
- oracle自定义类型type/create type
- LinuxStudyNote(11)-Linux常用命令(2)-目录文件复制命令(6)cp
- mysql 索引相关
- Android常用Manager