Guest User

Untitled

a guest
Nov 22nd, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. import geopandas as gpd
  2. multiline_example = gpd.read_file('multiline_example_filepath.shp')
  3. multiline_example.plot()
  4.  
  5. multiline_example.plot(color='green')
  6.  
  7. multiline_example.plot(colormap = 'Greens')
  8. multiline_example.plot(column = 'a_column_name')
  9.  
  10. multiline_example.plot(color='green')
  11.  
  12. from matplotlib.colors import ListedColormap
  13.  
  14. cmap = ListedColormap(['red'], name='allred')
  15. GeoSeries(bldgs).plot(cmap=cmap)
Add Comment
Please, Sign In to add comment