Skip to content

Instantly share code, notes, and snippets.

@cvr
Created October 21, 2011 14:33
Show Gist options
  • Save cvr/1303992 to your computer and use it in GitHub Desktop.
Save cvr/1303992 to your computer and use it in GitHub Desktop.
Set a title on top of a colorbar with set_title
...
## COLORBAR
cb=plt.colorbar(cf, cax=cx)
cx.set_title(r"Variable Z")
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment