-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from zmoon/imports
Fancy figure and more
- Loading branch information
Showing
9 changed files
with
256 additions
and
97 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
This repo welcomes additions from anyone passionate about colourmaps! This is my first Python package so it's a little rough around the edges. | ||
This repo welcomes additions from anyone passionate about colormaps! This is my first Python package so it's a little rough around the edges. | ||
|
||
If you do make a PR, please check it against the tests first, this will make it easier for me to merge it and push a new release out to PyPI and conda-forge. |
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# To update the colourmaps | ||
# To update the colormaps | ||
|
||
- Download latest version from Zenodo | ||
https://zenodo.org/record/4491293 | ||
|
||
- From directory above the colourmaps master folder, create a new directrory called cmaps and do some Bash magic to extract colormap .txt files | ||
- From directory above the colormaps master folder, create a new directrory called cmaps and do some Bash magic to extract colormap .txt files | ||
|
||
`find . -name '*.txt' -exec cp {} ./cmaps \;` | ||
|
||
- Remove the discrete colourmaps (those with numbers at the end) | ||
- Remove the discrete colormaps (those with numbers at the end) | ||
|
||
- Paste colourmaps to the cmaps directory in cmcrameri | ||
- Paste colormaps to the cmaps directory in cmcrameri | ||
|
||
- Run the `show_cmaps`function and save the figure in teh home directory of the project | ||
- Run the `show_cmaps`function and save the figure in the home directory of the project |
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
""" | ||
cmcrameri is a package of perceptuallt uniform colourmaps for the geosciences | ||
This is mererly a wrapper for previosuly created colour maps. All credit to Fabio Crameri | ||
http://www.fabiocrameri.ch/colourmaps.php | ||
See README.md for an overview and instructions | ||
""" | ||
cmcrameri is a package of perceptually uniform colormaps for the geosciences. | ||
This is merely a wrapper for previously created colormaps, | ||
all credit to Fabio Crameri | ||
https://www.fabiocrameri.ch/colourmaps/ | ||
See README.md for an overview and instructions. | ||
""" | ||
from __future__ import absolute_import | ||
|
||
from . import cm | ||
from .cm import show_cmaps | ||
|
||
|
||
__all__ = ( | ||
"cm", | ||
"show_cmaps", | ||
) | ||
|
||
|
||
__authors__ = ['Callum Rollo <[email protected]>'] | ||
|
Oops, something went wrong.