- Notifications
You must be signed in to change notification settings - Fork0
Collection of KTH colors for matplotlib
License
KTH-AC/matplotlib-kthcolors
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Collection of KTH colors for matplotlib
The package supports the 11 colors listed in theKTH color palette.The color names have been translated to English.
Here is a preview of the colors and their English names.After installation, you will be able to reproduce this picture by runningexample.py.
Installation steps may vary depending on your OS.On Linux and MacOS, I would expect the following instructions to work just fine.
You need Python 2 or 3 on your computer.Moreover, you needpython-pip andpython-setuptools.In the remote event that you do not have them already, grab them with your favorite package manager.For example, on Linux, type this in a terminal:
sudo apt-get install python-pip python-setuptools- Clone this repository.
git clone https://github.com/adaldo/matplotlib-kthcolors- Enter the repository directory and run the setup script.
cd matplotlib-kthcolorssudo python setup.py sdist bdist_wheelsudo pip install ./dist/kthcolors-0.0.2.tar.gz- If you want, you can remove the repository directory now.
cd ..sudo rm -r matplotlib-kthcolorsIf you want to introduce new color names for the kth colors, then importkthcolors.kthcolors and use Matplotlib with the new color names. Seeexample.py for an example of this usage.
If you want the standard color names to be remapped to the kth colors, importkthcolors.inplace and use Matplotlib normally.
Uninstallation varies depending on your OS.On Linux and MacOS, I expect the following to work just fine.
- Type this in a terminal
sudo pip uninstall kthcolors- Write a mail toantonio.adaldo.89@gmail.com to let me know what went wrong.
About
Collection of KTH colors for matplotlib
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
