diff --git a/examples/plotting_with_geoplot.py b/examples/plotting_with_geoplot.py index 6cb15dc..c1730ba 100644 --- a/examples/plotting_with_geoplot.py +++ b/examples/plotting_with_geoplot.py @@ -74,7 +74,7 @@ geoplot.polyplot(boroughs, ax=ax) # using Voronoi tessellation. ax = geoplot.voronoi( - injurious_collisions.sample(1000), + injurious_collisions.sample(1000, random_state=42), hue='NUMBER OF PERSONS INJURED', cmap='Reds', scheme='fisher_jenks', clip=boroughs.geometry, linewidth=0)