Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import geopandas as gpd
- multiline_example = gpd.read_file('multiline_example_filepath.shp')
- multiline_example.plot()
- multiline_example.plot(color='green')
- multiline_example.plot(colormap = 'Greens')
- multiline_example.plot(column = 'a_column_name')
- multiline_example.plot(color='green')
- from matplotlib.colors import ListedColormap
- cmap = ListedColormap(['red'], name='allred')
- GeoSeries(bldgs).plot(cmap=cmap)
Add Comment
Please, Sign In to add comment