From 3afdbf84d93ac990669f2305d5597e541595136f Mon Sep 17 00:00:00 2001 From: ilivni Date: Wed, 26 Nov 2014 11:41:21 -0600 Subject: [PATCH 01/13] Solarize_Light2 Adapted from ggplot2 Title padding Title color Minor grid width Alpha for graphs with a "fill" --- .../stylelib/solarizelight_b.mplstyle | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 lib/matplotlib/mpl-data/stylelib/solarizelight_b.mplstyle diff --git a/lib/matplotlib/mpl-data/stylelib/solarizelight_b.mplstyle b/lib/matplotlib/mpl-data/stylelib/solarizelight_b.mplstyle new file mode 100644 index 000000000000..b75c326faffe --- /dev/null +++ b/lib/matplotlib/mpl-data/stylelib/solarizelight_b.mplstyle @@ -0,0 +1,60 @@ +# Solarized color palette taken from http://ethanschoonover.com/solarized +# Inspired by, and copied from ggthemes https://github.com/jrnold/ggthemes + +#TODO: +# 1. Padding to title from face +# 2. Remove top & right ticks +# 3. Give Title a Magenta Color(?) + +#base00 ='#657b83 +#base01 ='#93a1a1' +#base2 ='#eee8d5' +#base3 ='#fdf6e3' +#base01 ='#586e75' +#Magenta ='#d33682' +#blue ='#268bd2' +#cyan ='#2aa198' +#violet ='#6c71c4' +#green ='#859900' +#orange ='#cb4b16' + + +figure.facecolor : FDF6E3 + +patch.facecolor : eee8d5 # Not sure what this does +patch.antialiased : True + +lines.linewidth : 2.0 +lines.solid_capstyle: butt + +axes.titlesize : 16 +axes.labelsize : 12 +axes.labelcolor : 657b83 +axes.facecolor : eee8d5 +axes.edgecolor : eee8d5 +axes.axisbelow : True +axes.color_cycle : 268BD2, 2AA198, 859900, B58900, CB4B16, DC322F, D33682, 6C71C4 + # Blue + # Cyan + # Green + # Yellow + # Orange + # Red + # Magenta + # Violet + +axes.grid : True + + +grid.color : fdf6e3 # grid color +grid.linestyle : - # line +grid.linewidth : 1 # in points + +### TICKS +xtick.color : 657b83 +xtick.direction : out + + +ytick.color : 657b83 +ytick.direction : out + From 79fc1f8446dec8c28d01ccacd3253ddf5a6bd314 Mon Sep 17 00:00:00 2001 From: ilivni Date: Wed, 26 Nov 2014 14:18:20 -0600 Subject: [PATCH 02/13] Solarized_License Taken from the Solarized Github page: https://github.com/altercation/solarized --- ...icense_Copyright (c) 2011 Ethan Schoonover | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 LICENSE/Solarized_License_Copyright (c) 2011 Ethan Schoonover diff --git a/LICENSE/Solarized_License_Copyright (c) 2011 Ethan Schoonover b/LICENSE/Solarized_License_Copyright (c) 2011 Ethan Schoonover new file mode 100644 index 000000000000..67ed2b7293fe --- /dev/null +++ b/LICENSE/Solarized_License_Copyright (c) 2011 Ethan Schoonover @@ -0,0 +1,20 @@ +https://github.com/altercation/solarized/blob/master/LICENSE +Copyright (c) 2011 Ethan Schoonover + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file From a9e83a4b27e290f3c861039959e052e227fb0352 Mon Sep 17 00:00:00 2001 From: ilivni Date: Wed, 26 Nov 2014 17:06:40 -0600 Subject: [PATCH 03/13] Example Script No changes to the mplstyle. --- examples/style_sheets/plot_solarizedlight2 | 42 +++++++++++++ .../stylelib/Solarize_Light2.mplstyle | 60 +++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 examples/style_sheets/plot_solarizedlight2 create mode 100644 lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle diff --git a/examples/style_sheets/plot_solarizedlight2 b/examples/style_sheets/plot_solarizedlight2 new file mode 100644 index 000000000000..6ba2f84d2f07 --- /dev/null +++ b/examples/style_sheets/plot_solarizedlight2 @@ -0,0 +1,42 @@ +""" +Version 0.1 +This shows an example of "Solarized_Light2" styling, which +tries to replicate the styles of: + - http://ethanschoonover.com/solarized + - https://github.com/jrnold/ggthemes + - http://pygal.org/builtin_styles/#idlight-solarized + + and work of: + - https://github.com/tonysyu/mpltools + +using all 8 accents of the color palette - starting with blue + +ToDo: + - Create alpha values for bar and stacked charts. .33 or .5 + - Apply Layout Rules +""" + + +from matplotlib import pyplot as plt +import numpy as np + +x = np.linspace(0, 10) + +with plt.style.context('Solarize_Light2'): + + plt.plot(x, np.sin(x) + x + np.random.randn(50)) + plt.plot(x, np.sin(x) + 2 * x + np.random.randn(50)) + plt.plot(x, np.sin(x) + 3 * x + np.random.randn(50)) + plt.plot(x, np.sin(x) + 4 + np.random.randn(50)) + plt.plot(x, np.sin(x) + 5 * x + np.random.randn(50)) + plt.plot(x, np.sin(x) + 6 * x + np.random.randn(50)) + plt.plot(x, np.sin(x) + 7 * x + np.random.randn(50)) + plt.plot(x, np.sin(x) + 8 * x + np.random.randn(50)) + + #Number of accent colors in the color scheme + plt.title('8 Random Lines - Line') + + plt.xlabel('x label', fontsize=14) + plt.ylabel('y label', fontsize=14) + +plt.show( ) \ No newline at end of file diff --git a/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle b/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle new file mode 100644 index 000000000000..b75c326faffe --- /dev/null +++ b/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle @@ -0,0 +1,60 @@ +# Solarized color palette taken from http://ethanschoonover.com/solarized +# Inspired by, and copied from ggthemes https://github.com/jrnold/ggthemes + +#TODO: +# 1. Padding to title from face +# 2. Remove top & right ticks +# 3. Give Title a Magenta Color(?) + +#base00 ='#657b83 +#base01 ='#93a1a1' +#base2 ='#eee8d5' +#base3 ='#fdf6e3' +#base01 ='#586e75' +#Magenta ='#d33682' +#blue ='#268bd2' +#cyan ='#2aa198' +#violet ='#6c71c4' +#green ='#859900' +#orange ='#cb4b16' + + +figure.facecolor : FDF6E3 + +patch.facecolor : eee8d5 # Not sure what this does +patch.antialiased : True + +lines.linewidth : 2.0 +lines.solid_capstyle: butt + +axes.titlesize : 16 +axes.labelsize : 12 +axes.labelcolor : 657b83 +axes.facecolor : eee8d5 +axes.edgecolor : eee8d5 +axes.axisbelow : True +axes.color_cycle : 268BD2, 2AA198, 859900, B58900, CB4B16, DC322F, D33682, 6C71C4 + # Blue + # Cyan + # Green + # Yellow + # Orange + # Red + # Magenta + # Violet + +axes.grid : True + + +grid.color : fdf6e3 # grid color +grid.linestyle : - # line +grid.linewidth : 1 # in points + +### TICKS +xtick.color : 657b83 +xtick.direction : out + + +ytick.color : 657b83 +ytick.direction : out + From 668b025920f38435ec47e889d2fc2b90083cbfdc Mon Sep 17 00:00:00 2001 From: ilivni Date: Wed, 26 Nov 2014 17:24:22 -0600 Subject: [PATCH 04/13] Changed Name of File --- .../stylelib/solarizelight_b.mplstyle | 60 ------------------- 1 file changed, 60 deletions(-) delete mode 100644 lib/matplotlib/mpl-data/stylelib/solarizelight_b.mplstyle diff --git a/lib/matplotlib/mpl-data/stylelib/solarizelight_b.mplstyle b/lib/matplotlib/mpl-data/stylelib/solarizelight_b.mplstyle deleted file mode 100644 index b75c326faffe..000000000000 --- a/lib/matplotlib/mpl-data/stylelib/solarizelight_b.mplstyle +++ /dev/null @@ -1,60 +0,0 @@ -# Solarized color palette taken from http://ethanschoonover.com/solarized -# Inspired by, and copied from ggthemes https://github.com/jrnold/ggthemes - -#TODO: -# 1. Padding to title from face -# 2. Remove top & right ticks -# 3. Give Title a Magenta Color(?) - -#base00 ='#657b83 -#base01 ='#93a1a1' -#base2 ='#eee8d5' -#base3 ='#fdf6e3' -#base01 ='#586e75' -#Magenta ='#d33682' -#blue ='#268bd2' -#cyan ='#2aa198' -#violet ='#6c71c4' -#green ='#859900' -#orange ='#cb4b16' - - -figure.facecolor : FDF6E3 - -patch.facecolor : eee8d5 # Not sure what this does -patch.antialiased : True - -lines.linewidth : 2.0 -lines.solid_capstyle: butt - -axes.titlesize : 16 -axes.labelsize : 12 -axes.labelcolor : 657b83 -axes.facecolor : eee8d5 -axes.edgecolor : eee8d5 -axes.axisbelow : True -axes.color_cycle : 268BD2, 2AA198, 859900, B58900, CB4B16, DC322F, D33682, 6C71C4 - # Blue - # Cyan - # Green - # Yellow - # Orange - # Red - # Magenta - # Violet - -axes.grid : True - - -grid.color : fdf6e3 # grid color -grid.linestyle : - # line -grid.linewidth : 1 # in points - -### TICKS -xtick.color : 657b83 -xtick.direction : out - - -ytick.color : 657b83 -ytick.direction : out - From 6ab82cca72d8b263751e54a58c4b4d08bed8b29a Mon Sep 17 00:00:00 2001 From: ilivni Date: Wed, 26 Nov 2014 17:53:43 -0600 Subject: [PATCH 05/13] File Conventions Conforming to matplolib conventions --- ..._License_Copyright (c) 2011 Ethan Schoonover => Solarized.txt} | 0 .../{plot_solarizedlight2 => plot_solarizedlight2.py} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename LICENSE/{Solarized_License_Copyright (c) 2011 Ethan Schoonover => Solarized.txt} (100%) rename examples/style_sheets/{plot_solarizedlight2 => plot_solarizedlight2.py} (100%) diff --git a/LICENSE/Solarized_License_Copyright (c) 2011 Ethan Schoonover b/LICENSE/Solarized.txt similarity index 100% rename from LICENSE/Solarized_License_Copyright (c) 2011 Ethan Schoonover rename to LICENSE/Solarized.txt diff --git a/examples/style_sheets/plot_solarizedlight2 b/examples/style_sheets/plot_solarizedlight2.py similarity index 100% rename from examples/style_sheets/plot_solarizedlight2 rename to examples/style_sheets/plot_solarizedlight2.py From 3fcd6d154b5ae6047277941f8f706b7023156993 Mon Sep 17 00:00:00 2001 From: ilivni Date: Wed, 26 Nov 2014 22:09:07 -0600 Subject: [PATCH 06/13] Deleted Some Empty Lines Failed last Travis regression --- examples/style_sheets/plot_solarizedlight2.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/examples/style_sheets/plot_solarizedlight2.py b/examples/style_sheets/plot_solarizedlight2.py index 6ba2f84d2f07..a681529995a2 100644 --- a/examples/style_sheets/plot_solarizedlight2.py +++ b/examples/style_sheets/plot_solarizedlight2.py @@ -4,13 +4,10 @@ tries to replicate the styles of: - http://ethanschoonover.com/solarized - https://github.com/jrnold/ggthemes - - http://pygal.org/builtin_styles/#idlight-solarized - + - http://pygal.org/builtin_styles/#idlight-solarized and work of: - - https://github.com/tonysyu/mpltools - + - https://github.com/tonysyu/mpltools using all 8 accents of the color palette - starting with blue - ToDo: - Create alpha values for bar and stacked charts. .33 or .5 - Apply Layout Rules @@ -23,7 +20,6 @@ x = np.linspace(0, 10) with plt.style.context('Solarize_Light2'): - plt.plot(x, np.sin(x) + x + np.random.randn(50)) plt.plot(x, np.sin(x) + 2 * x + np.random.randn(50)) plt.plot(x, np.sin(x) + 3 * x + np.random.randn(50)) @@ -34,9 +30,9 @@ plt.plot(x, np.sin(x) + 8 * x + np.random.randn(50)) #Number of accent colors in the color scheme - plt.title('8 Random Lines - Line') + plt.title('8 Random Lines') plt.xlabel('x label', fontsize=14) plt.ylabel('y label', fontsize=14) -plt.show( ) \ No newline at end of file +plt.show() \ No newline at end of file From f8faf183af0f504f4e6183f3e5bb36ba2ae3599c Mon Sep 17 00:00:00 2001 From: ilivni Date: Sat, 29 Nov 2014 03:05:55 -0600 Subject: [PATCH 07/13] Get Rid of white spaces 2 --- examples/style_sheets/plot_solarizedlight2.py | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/examples/style_sheets/plot_solarizedlight2.py b/examples/style_sheets/plot_solarizedlight2.py index a681529995a2..36266a115ffe 100644 --- a/examples/style_sheets/plot_solarizedlight2.py +++ b/examples/style_sheets/plot_solarizedlight2.py @@ -4,21 +4,17 @@ tries to replicate the styles of: - http://ethanschoonover.com/solarized - https://github.com/jrnold/ggthemes - - http://pygal.org/builtin_styles/#idlight-solarized - and work of: - - https://github.com/tonysyu/mpltools + - http://pygal.org/builtin_styles/#idlight-solarized + and work of: + - https://github.com/tonysyu/mpltools using all 8 accents of the color palette - starting with blue ToDo: - Create alpha values for bar and stacked charts. .33 or .5 - Apply Layout Rules """ - - from matplotlib import pyplot as plt import numpy as np - x = np.linspace(0, 10) - with plt.style.context('Solarize_Light2'): plt.plot(x, np.sin(x) + x + np.random.randn(50)) plt.plot(x, np.sin(x) + 2 * x + np.random.randn(50)) @@ -27,12 +23,9 @@ plt.plot(x, np.sin(x) + 5 * x + np.random.randn(50)) plt.plot(x, np.sin(x) + 6 * x + np.random.randn(50)) plt.plot(x, np.sin(x) + 7 * x + np.random.randn(50)) - plt.plot(x, np.sin(x) + 8 * x + np.random.randn(50)) - + plt.plot(x, np.sin(x) + 8 * x + np.random.randn(50)) #Number of accent colors in the color scheme - plt.title('8 Random Lines') - + plt.title('8 Random Lines') plt.xlabel('x label', fontsize=14) plt.ylabel('y label', fontsize=14) - plt.show() \ No newline at end of file From 70d5d9993975026631a7a683aa029a35dbdc89eb Mon Sep 17 00:00:00 2001 From: ilivni Date: Sat, 29 Nov 2014 03:11:52 -0600 Subject: [PATCH 08/13] Solaraized Light Style File Fixed --- lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle b/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle index b75c326faffe..d448e5eb9523 100644 --- a/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle +++ b/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle @@ -1,12 +1,10 @@ # Solarized color palette taken from http://ethanschoonover.com/solarized # Inspired by, and copied from ggthemes https://github.com/jrnold/ggthemes - #TODO: # 1. Padding to title from face # 2. Remove top & right ticks # 3. Give Title a Magenta Color(?) - -#base00 ='#657b83 +#base00 ='#657b83' #base01 ='#93a1a1' #base2 ='#eee8d5' #base3 ='#fdf6e3' From f85ba425426f4204971cbfceda015e185f546a1c Mon Sep 17 00:00:00 2001 From: ilivni Date: Sat, 29 Nov 2014 14:43:18 -0600 Subject: [PATCH 09/13] style sheet remove white spaces Tried setting the user save preference "trim_trailing_white_space_on_save": true --- .../mpl-data/stylelib/Solarize_Light2.mplstyle | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle b/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle index d448e5eb9523..cba49cc616ef 100644 --- a/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle +++ b/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle @@ -1,16 +1,18 @@ # Solarized color palette taken from http://ethanschoonover.com/solarized # Inspired by, and copied from ggthemes https://github.com/jrnold/ggthemes + #TODO: # 1. Padding to title from face # 2. Remove top & right ticks # 3. Give Title a Magenta Color(?) + #base00 ='#657b83' -#base01 ='#93a1a1' -#base2 ='#eee8d5' +#base01 ='#93a1a1' +#base2 ='#eee8d5' #base3 ='#fdf6e3' -#base01 ='#586e75' -#Magenta ='#d33682' -#blue ='#268bd2' +#base01 ='#586e75' +#Magenta ='#d33682' +#Blue ='#268bd2' #cyan ='#2aa198' #violet ='#6c71c4' #green ='#859900' @@ -28,7 +30,7 @@ lines.solid_capstyle: butt axes.titlesize : 16 axes.labelsize : 12 axes.labelcolor : 657b83 -axes.facecolor : eee8d5 +axes.facecolor : eee8d5 axes.edgecolor : eee8d5 axes.axisbelow : True axes.color_cycle : 268BD2, 2AA198, 859900, B58900, CB4B16, DC322F, D33682, 6C71C4 @@ -43,7 +45,6 @@ axes.color_cycle : 268BD2, 2AA198, 859900, B58900, CB4B16, DC322F, D33682, 6C71C axes.grid : True - grid.color : fdf6e3 # grid color grid.linestyle : - # line grid.linewidth : 1 # in points From 79c0e86707d40ead585229b94f905b79d566ddd1 Mon Sep 17 00:00:00 2001 From: ilivni Date: Sun, 30 Nov 2014 02:48:05 -0600 Subject: [PATCH 10/13] 3rd Try White Spaces Used convert tabs -> spaces script --- .../stylelib/Solarize_Light2.mplstyle | 87 +++++++++---------- 1 file changed, 43 insertions(+), 44 deletions(-) diff --git a/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle b/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle index cba49cc616ef..bb5aa955c901 100644 --- a/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle +++ b/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle @@ -2,58 +2,57 @@ # Inspired by, and copied from ggthemes https://github.com/jrnold/ggthemes #TODO: -# 1. Padding to title from face -# 2. Remove top & right ticks -# 3. Give Title a Magenta Color(?) +# 1. Padding to title from face +# 2. Remove top & right ticks +# 3. Give Title a Magenta Color(?) -#base00 ='#657b83' -#base01 ='#93a1a1' -#base2 ='#eee8d5' -#base3 ='#fdf6e3' -#base01 ='#586e75' -#Magenta ='#d33682' -#Blue ='#268bd2' -#cyan ='#2aa198' -#violet ='#6c71c4' -#green ='#859900' -#orange ='#cb4b16' +#base00 ='#657b83' +#base01 ='#93a1a1' +#base2 ='#eee8d5' +#base3 ='#fdf6e3' +#base01 ='#586e75' +#Magenta ='#d33682' +#Blue ='#268bd2' +#cyan ='#2aa198' +#violet ='#6c71c4' +#green ='#859900' +#orange ='#cb4b16' -figure.facecolor : FDF6E3 +figure.facecolor : FDF6E3 -patch.facecolor : eee8d5 # Not sure what this does -patch.antialiased : True +patch.facecolor : eee8d5 # Not sure what this does +patch.antialiased : True -lines.linewidth : 2.0 +lines.linewidth : 2.0 lines.solid_capstyle: butt -axes.titlesize : 16 -axes.labelsize : 12 -axes.labelcolor : 657b83 -axes.facecolor : eee8d5 -axes.edgecolor : eee8d5 -axes.axisbelow : True -axes.color_cycle : 268BD2, 2AA198, 859900, B58900, CB4B16, DC322F, D33682, 6C71C4 - # Blue - # Cyan - # Green - # Yellow - # Orange - # Red - # Magenta - # Violet - -axes.grid : True - -grid.color : fdf6e3 # grid color -grid.linestyle : - # line -grid.linewidth : 1 # in points +axes.titlesize : 16 +axes.labelsize : 12 +axes.labelcolor : 657b83 +axes.facecolor : eee8d5 +axes.edgecolor : eee8d5 +axes.axisbelow : True +axes.color_cycle : 268BD2, 2AA198, 859900, B58900, CB4B16, DC322F, D33682, 6C71C4 + # Blue + # Cyan + # Green + # Yellow + # Orange + # Red + # Magenta + # Violet + +axes.grid : True + +grid.color : fdf6e3 # grid color +grid.linestyle : - # line +grid.linewidth : 1 # in points ### TICKS -xtick.color : 657b83 -xtick.direction : out +xtick.color : 657b83 +xtick.direction : out -ytick.color : 657b83 -ytick.direction : out - +ytick.color : 657b83 +ytick.direction : out \ No newline at end of file From c17c07d71d3e8a09be6ef3b7a9524423dcc9c897 Mon Sep 17 00:00:00 2001 From: ilivni Date: Sun, 30 Nov 2014 03:23:44 -0600 Subject: [PATCH 11/13] Used PSPAD to check whitespace --- lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle b/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle index bb5aa955c901..82708a9e2b6b 100644 --- a/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle +++ b/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle @@ -18,7 +18,6 @@ #green ='#859900' #orange ='#cb4b16' - figure.facecolor : FDF6E3 patch.facecolor : eee8d5 # Not sure what this does @@ -53,6 +52,5 @@ grid.linewidth : 1 # in points xtick.color : 657b83 xtick.direction : out - ytick.color : 657b83 ytick.direction : out \ No newline at end of file From a42bc6fd59fb03f277e4bef7cc80af442fc6588c Mon Sep 17 00:00:00 2001 From: ilivni Date: Mon, 1 Dec 2014 14:54:13 -0600 Subject: [PATCH 12/13] Set Sublime to UNIX Line style endings --- examples/style_sheets/plot_solarizedlight2.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/style_sheets/plot_solarizedlight2.py b/examples/style_sheets/plot_solarizedlight2.py index 36266a115ffe..e44969610599 100644 --- a/examples/style_sheets/plot_solarizedlight2.py +++ b/examples/style_sheets/plot_solarizedlight2.py @@ -5,9 +5,12 @@ - http://ethanschoonover.com/solarized - https://github.com/jrnold/ggthemes - http://pygal.org/builtin_styles/#idlight-solarized - and work of: + + and work of: - https://github.com/tonysyu/mpltools + using all 8 accents of the color palette - starting with blue + ToDo: - Create alpha values for bar and stacked charts. .33 or .5 - Apply Layout Rules @@ -25,7 +28,7 @@ plt.plot(x, np.sin(x) + 7 * x + np.random.randn(50)) plt.plot(x, np.sin(x) + 8 * x + np.random.randn(50)) #Number of accent colors in the color scheme - plt.title('8 Random Lines') + plt.title('8 Random Lines - Line') plt.xlabel('x label', fontsize=14) plt.ylabel('y label', fontsize=14) -plt.show() \ No newline at end of file +plt.show( ) \ No newline at end of file From 4a48fc6edc584bcf9993eadca18c84a87fa191a1 Mon Sep 17 00:00:00 2001 From: ilivni Date: Mon, 1 Dec 2014 14:59:11 -0600 Subject: [PATCH 13/13] Tried Unix style line endings with sublime --- lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle b/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle index 82708a9e2b6b..853f767bd50e 100644 --- a/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle +++ b/lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle @@ -41,9 +41,7 @@ axes.color_cycle : 268BD2, 2AA198, 859900, B58900, CB4B16, DC322F, D33682, 6C # Red # Magenta # Violet - axes.grid : True - grid.color : fdf6e3 # grid color grid.linestyle : - # line grid.linewidth : 1 # in points