Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0bbd127

Browse files
committed
Merge pull request #4570 from petebachant/seaborn_style
ENH: Add Seaborn style sheets closes #4566
2 parents e4acdb0 + 92b39d5 commit 0bbd127

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Seaborn common parameters
2+
# .15 = dark_gray
3+
# .8 = light_gray
4+
figure.facecolor: white
5+
text.color: .15
6+
axes.labelcolor: .15
7+
legend.frameon: False
8+
legend.numpoints: 1
9+
legend.scatterpoints: 1
10+
xtick.direction: out
11+
ytick.direction: out
12+
xtick.color: .15
13+
ytick.color: .15
14+
axes.axisbelow: True
15+
image.cmap: Greys
16+
font.family: sans-serif
17+
font.sans-serif: Arial, Liberation Sans, Bitstream Vera Sans, sans-serif
18+
grid.linestyle: -
19+
lines.solid_capstyle: round
20+
21+
# Seaborn darkgrid parameters
22+
axes.grid: True
23+
axes.facecolor: EAEAF2
24+
axes.edgecolor: white
25+
axes.linewidth: 0
26+
grid.color: white
27+
xtick.major.size: 0
28+
ytick.major.size: 0
29+
xtick.minor.size: 0
30+
ytick.minor.size: 0
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Seaborn deep palette
2+
axes.color_cycle: 4C72B0, 55A868, C44E52, 8172B2, CCB974, 64B5CD
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Seaborn notebook context
2+
figure.figsize: 8.0, 5.5
3+
axes.labelsize: 11
4+
axes.titlesize: 12
5+
xtick.labelsize: 10
6+
ytick.labelsize: 10
7+
legend.fontsize: 10
8+
9+
grid.linewidth: 1
10+
lines.linewidth: 1.75
11+
patch.linewidth: .3
12+
lines.markersize: 7
13+
lines.markeredgewidth: 0
14+
15+
xtick.major.width: 1
16+
ytick.major.width: 1
17+
xtick.minor.width: .5
18+
ytick.minor.width: .5
19+
20+
xtick.major.pad: 7
21+
ytick.major.pad: 7

0 commit comments

Comments
 (0)