geopandas plot shapefile code example
Example 1: set points size in geopandas plot
import geopandas
cities = geopandas.read_file(geopandas.datasets.get_path('naturalearth_cities'))
# adding a column with random values for the size
cities['values'] = np.abs(np.random.randn(len(cities))) * 50
cities.plot(markersize=cities['values'])
Example 2: set points size in geopandas plot
cities.plot(markersize=10)