Skip to content

Sty solarized #9026

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 17, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
MNT/DOC: whitespace + updated example heading
  • Loading branch information
tacaswell committed Aug 13, 2017
commit e5b5da02d4f384cbf438c8cfb25c34d4fc66803c
2 changes: 1 addition & 1 deletion LICENSE/Solarized.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ 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.
THE SOFTWARE.
24 changes: 15 additions & 9 deletions examples/style_sheets/plot_solarizedlight2.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
"""
Version 0.1
This shows an example of "Solarized_Light2" styling, which
==========================
Solarized Light stylesheet
==========================

This shows an example of "Solarized_Light" 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
- `<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

Expand All @@ -27,8 +32,9 @@
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
# 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( )

plt.show()
20 changes: 10 additions & 10 deletions lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ 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.prop_cycle : cycler('color', ['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
Expand All @@ -51,4 +51,4 @@ xtick.color : 657b83
xtick.direction : out

ytick.color : 657b83
ytick.direction : out
ytick.direction : out