Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

geopandas cmap change options

from matplotlib.colors import ListedColormap

cmap = ListedColormap(['red'], name='allred')
GeoSeries(bldgs).plot(cmap=cmap)
Source by gis.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #geopandas #cmap #change #options
ADD COMMENT
Topic
Name
7+7 =