Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit973f7ac

Browse files
committed
Update seaborn style
1 parentf2e0479 commit973f7ac

File tree

27 files changed

+424
-208
lines changed

27 files changed

+424
-208
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
API changes
2+
```````````
3+
4+
The the style changes introduced in seaborn 0.9 have been included in the
5+
Matplotlib seaborn styles.
6+
Most notably, the color palettes have been extended from 6 to 10 colors.
7+
The former 6-color palettes are still available via a '6' suffix in the
8+
style name, e.g. ``plt.style.use('seaborn-bright6')``.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#Seaborn bright palette
2-
axes.prop_cycle: cycler('color', ['003FFF', '03ED3A', 'E8000B', '8A2BE2', 'FFC400', '00D7FF'])
3-
patch.facecolor:003FFF
1+
#seaborn bright palette
2+
axes.prop_cycle: cycler('color', ['023EFF', 'FF7C00', '1AC938', 'E8000B', '8B2BE2', '9F4800', 'F14CC1', 'A3A3A3', 'FFC400', '00D7FF'])
3+
patch.facecolor:023EFF
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# seaborn bright6 palette
2+
axes.prop_cycle: cycler('color', ['023EFF', '1AC938', 'E8000B', '8B2BE2', 'FFC400', '00D7FF'])
3+
patch.facecolor: 023EFF
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#Seaborn colorblind palette
2-
axes.prop_cycle: cycler('color', ['0072B2', '009E73', 'D55E00', 'CC79A7', 'F0E442', '56B4E9'])
3-
patch.facecolor:0072B2
1+
#seaborn colorblind palette
2+
axes.prop_cycle: cycler('color', ['0173B2', 'DE8F05', '029E73', 'D55E00', 'CC78BC', 'CA9161', 'FBAFE4', '949494', 'ECE133', '56B4E9'])
3+
patch.facecolor:0173B2
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# seaborn colorblind6 palette
2+
axes.prop_cycle: cycler('color', ['0173B2', '029E73', 'D55E00', 'CC78BC', 'ECE133', '56B4E9'])
3+
patch.facecolor: 0173B2
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#Seaborn dark palette
2-
axes.prop_cycle: cycler('color', ['001C7F', '017517', '8C0900', '7600A1', 'B8860B', '006374'])
1+
#seaborn dark palette
2+
axes.prop_cycle: cycler('color', ['001C7F', 'B1400D', '12711C', '8C0800', '591E71', '592F0D', 'A23582', '3C3C3C', 'B8850A', '006374'])
33
patch.facecolor: 001C7F
Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,41 @@
1-
#Seaborn common parameters
2-
# .15 = dark_gray
3-
#.8 = light_gray
1+
#seaborn dark style
2+
3+
#common parameters (see style_dict in seaborn.rcmod.axes_style()):
44
figure.facecolor: white
5-
text.color: .15
65
axes.labelcolor: .15
7-
legend.frameon: False
8-
legend.numpoints: 1
9-
legend.scatterpoints: 1
6+
107
xtick.direction: out
118
ytick.direction: out
129
xtick.color: .15
1310
ytick.color: .15
11+
1412
axes.axisbelow: True
15-
image.cmap: Greys
16-
font.family: sans-serif
17-
font.sans-serif: Arial, Liberation Sans, DejaVu Sans, Bitstream Vera Sans, sans-serif
1813
grid.linestyle: -
14+
15+
text.color: .15
16+
font.family: sans-serif
17+
font.sans-serif: Arial, DejaVu Sans, Liberation Sans, Bitstream Vera Sans, sans-serif
18+
1919
lines.solid_capstyle: round
20+
patch.edgecolor: w
21+
patch.force_edgecolor: True
22+
23+
# seaborn image.cmap is "rocket", but we do not have that
24+
image.cmap: Greys
2025

21-
# Seaborn dark parameters
26+
xtick.top: False
27+
ytick.right: False
28+
29+
30+
# dark parameters
2231
axes.grid: False
2332
axes.facecolor: EAEAF2
2433
axes.edgecolor: white
25-
axes.linewidth: 0
2634
grid.color: white
27-
xtick.major.size: 0
28-
ytick.major.size: 0
29-
xtick.minor.size: 0
30-
ytick.minor.size: 0
35+
axes.spines.left: True
36+
axes.spines.bottom: True
37+
axes.spines.right: True
38+
axes.spines.top: True
39+
40+
xtick.bottom: False
41+
ytick.left: False
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# seaborn dark6 palette
2+
axes.prop_cycle: cycler('color', ['001C7F', '12711C', '8C0800', '591E71', 'B8850A', '006374'])
3+
patch.facecolor: 001C7F
Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,41 @@
1-
#Seaborn common parameters
2-
# .15 = dark_gray
3-
#.8 = light_gray
1+
#seaborn darkgrid style
2+
3+
#common parameters (see style_dict in seaborn.rcmod.axes_style()):
44
figure.facecolor: white
5-
text.color: .15
65
axes.labelcolor: .15
7-
legend.frameon: False
8-
legend.numpoints: 1
9-
legend.scatterpoints: 1
6+
107
xtick.direction: out
118
ytick.direction: out
129
xtick.color: .15
1310
ytick.color: .15
11+
1412
axes.axisbelow: True
15-
image.cmap: Greys
16-
font.family: sans-serif
17-
font.sans-serif: Arial, Liberation Sans, DejaVu Sans, Bitstream Vera Sans, sans-serif
1813
grid.linestyle: -
14+
15+
text.color: .15
16+
font.family: sans-serif
17+
font.sans-serif: Arial, DejaVu Sans, Liberation Sans, Bitstream Vera Sans, sans-serif
18+
1919
lines.solid_capstyle: round
20+
patch.edgecolor: w
21+
patch.force_edgecolor: True
22+
23+
# seaborn image.cmap is "rocket", but we do not have that
24+
image.cmap: Greys
2025

21-
# Seaborn darkgrid parameters
26+
xtick.top: False
27+
ytick.right: False
28+
29+
30+
# darkgrid parameters
2231
axes.grid: True
2332
axes.facecolor: EAEAF2
2433
axes.edgecolor: white
25-
axes.linewidth: 0
2634
grid.color: white
27-
xtick.major.size: 0
28-
ytick.major.size: 0
29-
xtick.minor.size: 0
30-
ytick.minor.size: 0
35+
axes.spines.left: True
36+
axes.spines.bottom: True
37+
axes.spines.right: True
38+
axes.spines.top: True
39+
40+
xtick.bottom: False
41+
ytick.left: False
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#Seaborn deep palette
2-
axes.prop_cycle: cycler('color', ['4C72B0', '55A868', 'C44E52', '8172B2', 'CCB974', '64B5CD'])
1+
#seaborn deep palette
2+
axes.prop_cycle: cycler('color', ['4C72B0', 'DD8452', '55A868', 'C44E52', '8172B3', '937860', 'DA8BC3', '8C8C8C', 'CCB974', '64B5CD'])
33
patch.facecolor: 4C72B0

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp