Skip to content

Instantly share code, notes, and snippets.

@RishiSadhir
Created March 23, 2020 03:03
Show Gist options
  • Save RishiSadhir/50b64465b5e8ce6448299da0032fe6c0 to your computer and use it in GitHub Desktop.
Save RishiSadhir/50b64465b5e8ce6448299da0032fe6c0 to your computer and use it in GitHub Desktop.
# Plot theme
COLOR = "#2A0933"
plt.rcParams['text.color'] = COLOR
plt.rcParams['text.hinting_factor'] = 8
plt.rcParams['axes.labelcolor'] = COLOR
plt.rcParams['axes.facecolor'] = "eeeeee"
plt.rcParams['axes.edgecolor'] = "bcbcbc"
plt.rcParams['axes.grid'] = True
plt.rcParams['axes.titlesize'] = "x-large"
plt.rcParams['axes.labelsize'] = "large"
plt.rcParams['xtick.color'] = COLOR
plt.rcParams['ytick.color'] = COLOR
plt.rcParams['grid.color'] = COLOR
plt.rcParams['grid.linestyle'] = '--'
plt.rcParams['grid.linewidth'] = 0.5
plt.rcParams['grid.alpha'] = .7
plt.rcParams['lines.linewidth'] = 2.0
plt.rcParams['patch.linewidth'] = 0.5
plt.rcParams['patch.facecolor'] = "blue"
plt.rcParams['patch.edgecolor'] = "eeeeee"
plt.rcParams['patch.antialiased'] = True
plt.rcParams['mathtext.fontset'] = "cm"
plt.rcParams['legend.fancybox'] = True
plt.rcParams['figure.figsize'] = (11, 8)
plt.rcParams['figure.dpi'] = 300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment