Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import geopandas as gpd
- import matplotlib.pyplot as plt
- sp = gpd.read_file(<shapefile filename goes here>)
- column_list = sp.columns.values
- for i in column_list:
- sp.plot(column = i, cmap='Blues', alpha=1, legend=True, linewidth=0)
- plt.savefig(i +'.png', dpi=600,bbox_inches='tight')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement