def _get_grids(fig, rows, cols, axes_pad=0):
grids = []
for row in range(rows):
grid_id = int("%d%d%d" % (rows, 1, row + 1))
grid = ImageGrid(fig, grid_id,
nrows_ncols=(1, cols),
axes_pad=(0.05, axes_pad),
share_all=True,
cbar_location="right",
cbar_mode="single",
cbar_size="10%",
cbar_pad="5%")
grids.append(grid)
return grids
photorealistic.py 文件源码
python
阅读 24
收藏 0
点赞 0
评论 0
评论列表
文章目录