如何使两个子地块共享相同的颜色栏

2024-04-24 04:10:34 发布

您现在位置:Python中文网/ 问答频道 /正文

如何使两个子地块共享相同的颜色栏?正如你从我的附件中看到的,色条的比例不同,这使得比较困难。有人有什么建议吗

f,ax=plt.subplots(1,2, figsize=(10,10))

lsoas_lpool.plot(column='Value',ax=ax[0], cmap='Reds', linewidth=0, legend=True)
lsoas_lpool.plot(column='AGG_VI',ax=ax[1], cmap='Reds', linewidth=0, legend=True)

plt.show()

enter image description here