These are common instructions for my VMD plugins.
Before you begin. Download the latest release and extract it in a directory of your choice.
| #!/usr/bin/env python3 | |
| # coding: utf-8 | |
| """ | |
| Author : weaming | |
| Created Time : 2018-05-26 21:32:59 | |
| Prerequisite: | |
| python3 -m pip install cson arrow | |
| """ | |
| import json | |
| import os |
| class FancyCmaps: | |
| """ | |
| Useful colormaps for matplotlib. Most importantly: | |
| - white_red | |
| - white_blue | |
| - blue_white | |
| - white_black | |
| The built-in matplotlib ones don't actually go between pure color values!! | |
| For ex, 'Greys' doesn't go from pure white to pure black! | |
| So colormaps to consider avoiding include Greys, Blues, Greens, (etc), bwr, and seismic. |