-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Solarize_Light2 #3851
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
Solarize_Light2 #3851
Conversation
Adapted from ggplot2 Title padding Title color Minor grid width Alpha for graphs with a "fill"
Hi - I would like to resolve the todo list after you check the style sheet. This way I can port over the other styles and schemes... |
I don't really understand what you mean. If you are copying color maps/styles from other sources can you also do the leg work to make sure we have license to include them? |
I did - before submitting. Let me know if there is more to this. ggplot2 is gnu2 Solarized Permission is hereby granted, free of charge, to any person obtaining a copy The above copyright notice and this permission notice shall be included in THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
mpl uses a bsd-derived license which means we can not include gpl licensed code. |
Ok. I will look into that. Also the solarized palette is just everywhere as you probably know. Thanks |
To be clear, I am not a lawyer. You should spend some time understanding the difference between GPL and BSD/MIT/apache. The crux of the differences is the conditions on the licensing of derived works. You can use mixed license stacks, but we can not integrate GPL code into our code base (but a GPL project could integrate our code into their code base). I am hesitant to go into too much depth, but unless you get permission from the ggplot copyright holders, we can not use their colors. See the discussion in #3700, we are taking a very conservative approach to integrating IP from other sources. We can use the solarize colors, but the license file needs to go into the LICENSES folder. |
Yes :). I also read discussion #3700. Just to be clear
These are not their colors... I just looked at jrnold (github) while looking for a matplotlib version of the theme. Let me know if this clears anything up.. |
Taken from the Solarized Github page: https://github.com/altercation/solarized
Can you also add an example? Someplace in the examples directory there is the start of a style gallery. |
Yes. When is the next release date? It will be my first ... so it will be slow going. I suppose I need to use some standard data set available in pandas? Cool. This is fun... |
Please no pandas dependency, see the examples here: https://github.com/matplotlib/matplotlib/tree/master/examples/style_sheets |
No changes to the mplstyle.
Ok let me know what else is missing or needs to be conformed to standards. |
@@ -0,0 +1,42 @@ | |||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should have a file extension.
Conforming to matplolib conventions
Which file? Failed where? |
https://travis-ci.org/matplotlib/matplotlib/jobs/42256473
|
It is complaining about white spaces between commented lines. Is that a no? Trying again... made some changes I hope will make it work. |
Failed last Travis regression
The automated pep8 tests are a bit contentious, but overall are useful. We ignore most of the more obnoxious tests, but the trailing whitespace is one of the more important ones we do follow. It really helps to cut down on excessive white-space related conflicts if it just never makes onto the master branch. |
I am a bit of a loss on where and how to get rid of the white spaces. Any links or suggestions appreciated. Thanks |
Most modern text editors have some sort of way to zap trailing whitespaces, On Sat, Nov 29, 2014 at 3:04 PM, Itay Livni notifications@github.com
|
Sublime. But I am quite new. Let me see if this file passes |
Tried setting the user save preference "trim_trailing_white_space_on_save": true
And, since you are new, I would suggest looking into tab settings: https://www.sublimetext.com/docs/2/indentation.html |
lol... I thought the opposite. Thanks. What is annoying is that I don't see the bad formatting in the file. On Sat, Nov 29, 2014 at 2:53 PM, Benjamin Root notifications@github.com
Itay Livni theGraybox http://www.thegrbox.com/#about |
That's the problem with tabs. It may look good to you, but for others with A useful utility in linux is "expand" which will replace all tabs with On Sat, Nov 29, 2014 at 4:03 PM, Itay Livni notifications@github.com
|
Used convert tabs -> spaces script
Maybe it is because I am using Windows 7. Does the file encoding have anything to do with it? |
All files should have unix-style line endings. |
@ilivni Any interest in picking this up again? I think that this looks OK to merge (modulo moving the example to the examples folder). |
The style is named There are some TODOs left in the comments. |
I'd love to see this in mpl, I love the solarized colors! But shouldn't the style be called |
Adapted from ggplot2
Title padding
Title color
Minor grid width
Alpha for graphs with a "fill"