Created
December 27, 2017 21:11
-
-
Save granttremblay/daa05be7734d587d60c49d46815d4712 to your computer and use it in GitHub Desktop.
Explicitly select colors in a matplotlib.style color pallete. DUMB.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Yes, this is the dumb way you have to select mpl.style (like 'ggplot') colors: | |
color_number = 2 | |
color_choice = list(plt.rcParams['axes.prop_cycle'])[color_number]['color'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment