Skip to content

Instantly share code, notes, and snippets.

@jason-neal
Created January 12, 2018 12:26
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 jason-neal/7db482128bb553e74f56b87b4d6bbd93 to your computer and use it in GitHub Desktop.
Save jason-neal/7db482128bb553e74f56b87b4d6bbd93 to your computer and use it in GitHub Desktop.
Get iterable list of matplotlib styles.
import matplotlib
colors_array = list(matplotlib.colors.cnames.keys())
lines_array = list(matplotlib.lines.lineStyles.keys())
markers_array = list(matplotlib.markers.MarkerStyle.markers.keys())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment