import matplotlib.pyplot as plt
...
fig, ax = plt.subplots(nrows=len(i), ncols=len(i), sharex=True, sharey=True,)
ax = ax.flatten()
for idx in range(len(i)):
for jdx in range(len(j)):
ax[idx,jdx].imshow(the arbitrary_name_index using idx,jdx as indeces)
使用函数
subplots
例如:你最需要调整的代码
相关问题 更多 >
编程相关推荐