Skip to content

Instantly share code, notes, and snippets.

@sebbacon
Created April 26, 2018 06:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebbacon/60ceec549f1d461af4543ccc5024c095 to your computer and use it in GitHub Desktop.
Save sebbacon/60ceec549f1d461af4543ccc5024c095 to your computer and use it in GitHub Desktop.
setting matplotlib legend font size via geopandas
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@PhilipDW183
Copy link

Great solve for the x_ticks. Do you have any solution for changing the size of the legend title?

@peter-redistricting-data-hub

To change the size of the legend title, do something like:
cb_ax.set_title("Your title", fontsize=20)

Running help(cb_ax) was helpful to get more information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment