Last active
January 11, 2020 05:08
-
-
Save Perishleaf/a6b9a8e6e417ba43329e7dba84b120ea to your computer and use it in GitHub Desktop.
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
# set up plot style as tron legancy | |
from matplotlib import cycler | |
colors = cycler('color', | |
['#fc280f', '#5fdcff', '#f4ba26', '#85c54c', '#c6d7e0']) # colors for artists will be cycled from this list by default | |
plt.rc('figure', facecolor='#222222') # facecolor is background colour | |
plt.rc('axes', facecolor='#222222', edgecolor='#222222', | |
axisbelow=True, grid=True, prop_cycle=colors) # "axisbelow" set axis ticks and gridlines are below all artists | |
plt.rc('grid', color='#e3e3e3', linestyle='solid') | |
plt.rc('xtick', direction='in', color='#e3e3e3') | |
plt.rc('ytick', direction='in', color='#e3e3e3') | |
plt.rc('patch', edgecolor='#e3e3e3') | |
plt.rc('lines', linewidth=1.5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment