Skip to content

Commit f33d59f

Browse files
Merge pull request #509 from maycownd/matplotlib-style
Fixed #395
2 parents 7e92757 + b6e0ffe commit f33d59f

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

Diff for: styles/bmh_matplotlibrc.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"axes.edgecolor": "#bcbcbc",
44
"patch.linewidth": 0.5,
55
"legend.fancybox": true,
6-
"axes.color_cycle": [
7-
"#348ABD",
8-
"#A60628",
9-
"#7A68A6",
10-
"#467821",
11-
"#CF4457",
12-
"#188487",
13-
"#E24A33"
14-
],
6+
"axes.prop_cycle": cycler('color', [
7+
"#348ABD",
8+
"#A60628",
9+
"#7A68A6",
10+
"#467821",
11+
"#CF4457",
12+
"#188487",
13+
"#E24A33"
14+
]),
1515
"axes.facecolor": "#eeeeee",
1616
"axes.labelsize": "large",
1717
"axes.grid": true,

Diff for: styles/matplotlibrc

+3-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,9 @@ axes.labelsize : large # fontsize of the x any y labels
237237
#axes.unicode_minus : True # use unicode for the minus symbol
238238
# rather than hyphen. See
239239
# http://en.wikipedia.org/wiki/Plus_and_minus_signs#Character_codes
240-
axes.color_cycle : 348ABD, A60628, 7A68A6, 467821,D55E00, CC79A7, 56B4E9, 009E73, F0E442, 0072B2 # color cycle for plot lines
240+
#axes.prop_cycle : cycler('color', ['1f77b4', 'ff7f0e', '2ca02c', 'd62728', '9467bd', '8c564b', 'e377c2', '7f7f7f', 'bcbd22', '17becf'])
241+
axes.prop_cycle : cycler('color', ['348abd', 'a60628', '7a68a6', '467821','d55e00', 'cc79a7', '56b4e9', '009e73', 'f0e442', '0072b2'])
242+
# color cycle for plot lines
241243
# as list of string colorspecs:
242244
# single letter, long name, or
243245
# web-style hex

0 commit comments

Comments
 (0)