-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Add easy style sheet selection #2236
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
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
643c74b
Add easy style sheet selection.
tonysyu 3270aa4
Add rc_params_in_file to return partially-filled RcParams
tonysyu d83a03c
Rename style files to `*.style`
tonysyu c8cc486
Allow style.use to open URLs
tonysyu 455b54c
Remove pyplot import
tonysyu 7769b29
Add style context manager and tests
tonysyu 3914089
Change style extension to *.mplstyle
tonysyu c3fae2e
Got a little crazy with the whitespace
tonysyu a3de231
Add style package and data to setupext.py
tonysyu d56f73e
Move test so that it actually runs.
tonysyu ec6ce6b
Use explicit string check
tonysyu 5fdc037
Hide rc_params_in_file from parent namespace
tonysyu 0c7437c
Remove usage of import *
tonysyu 200d2e0
Clarify docstring
tonysyu 7392ce6
added `matplotlib.style` to pyplot import list
tacaswell ea63c99
fix url rc specification
adrn eaa23ee
fixed divergent naming scheme
tacaswell 5f80ca1
pep8 clean up
tacaswell f5ecf5e
Add docs for style package
tonysyu a8ef5bf
Import style package for easy use.
tonysyu dc291e0
Use style package from pyplot
tonysyu c5b5bb4
Fix test
tonysyu 7ac26ee
pep8
tacaswell 46a725b
Clear style settings between tests
mdboom d372a35
Add note that style sheets are experimental.
tonysyu e714c77
added python3 emulation code + six + fixed up print calls
tacaswell 512b77c
removed unneeded print statements
tacaswell 17282c8
Attempt to fix python 3 test errors on Travis CI
tonysyu a6142fc
Remove test from list to test Travis CI failure.
tonysyu 19e7bed
Remove test file to test Travis CI failure
tonysyu c604498
Revert commits used to test Travis CI test failures.
tonysyu 0b098e2
Fix import for python 3
tonysyu 7e2bffb
Use iteritems from `six` module
tonysyu 1d87f34
Add compatibility layer for Python 3's urlopen
tonysyu 79f83c9
Fix _fix_url on Python 2.6
mdboom 246c348
Merge pull request #6 from mdboom/style/py26-fixes
tonysyu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add rc_params_in_file to return partially-filled RcParams
This allows style sheets to update the current settings instead of overwriting them.
- Loading branch information
commit 3270aa4a96eb5f28fd8d5a01e737fe4e715d5373
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The difference between
rc_params_from_fileandrc_params_in_fileare so minimal I'd be tempted to factor this into a keyword - something likeuse_default_template=True/False?