如何缩小此图中图例的大小?

2024-09-19 23:40:50 发布

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

fig, ax = plt.subplots(1, figsize=(20,20))
ax = file[file['NAME'].isin(['Alaska','Hawaii']) == False].plot(ax=ax, color='#3B3C6E')
hurigeo.plot(column='Wind', marker="<",  markersize=10,edgecolor='0.8',cmap='Blues', legend=True ,ax=ax)
plt.legend()
ax.set_title("Hurricane Florence in US Map", fontsize=25)

enter image description here


Tags: namefalseplotfigpltaxfilecolor