mirror of
https://github.com/heyarne/earth-observation-for-journalism.git
synced 2026-05-06 19:13:40 +02:00
Fix plot styles to use a ggplot derivative by default
This commit is contained in:
parent
ff8e160227
commit
8308f9412c
3 changed files with 206 additions and 1034 deletions
40
sources/matplotlibrc
Normal file
40
sources/matplotlibrc
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# from http://www.huyng.com/posts/sane-color-scheme-for-matplotlib/
|
||||
# this is a slightly modified version of the default `ggplot` style
|
||||
|
||||
patch.linewidth: 0.5
|
||||
# patch.facecolor: 348ABD # blue
|
||||
patch.edgecolor: none
|
||||
patch.antialiased: True
|
||||
|
||||
font.size: 10.0
|
||||
|
||||
axes.facecolor: none
|
||||
axes.edgecolor: none
|
||||
axes.linewidth: 1
|
||||
axes.grid: True
|
||||
axes.titlesize: x-large
|
||||
axes.labelsize: large
|
||||
axes.labelcolor: 555555
|
||||
axes.axisbelow: True # grid/ticks are below elements (e.g., lines, text)
|
||||
|
||||
axes.prop_cycle: cycler('color', ['988ED5', '777777', 'FBC15E', '8EBA42', 'FFB5B8', 'E24A33', '348ABD'])
|
||||
# 988ED5 : purple
|
||||
# 777777 : gray
|
||||
# FBC15E : yellow
|
||||
# 8EBA42 : green
|
||||
# FFB5B8 : pink
|
||||
# E24A33 : red
|
||||
# 348ABD : blue
|
||||
|
||||
xtick.color: 555555
|
||||
xtick.direction: out
|
||||
|
||||
ytick.color: 555555
|
||||
ytick.direction: out
|
||||
|
||||
grid.color: c0c0c0
|
||||
grid.linestyle: : # dots
|
||||
|
||||
figure.facecolor: white
|
||||
figure.edgecolor: 0.50
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue