Skip to content

You wished you hadn't used jet when you saved that figure? Here is a quick fix!

License

Notifications You must be signed in to change notification settings

kingjr/fix_your_jet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fix_your_jet

You wished you hadn't used jet when you saved that figure? Here is a quick fix!

alt text

Dependencies

  • numpy
  • imageio
  • matplotlib
  • scipy

Installation

Clone this repository and install using setup.py:

python setup.py develop --user

Examples

from imageio import imread, imwrite
from fix_your_jet import fix

example_fix = fix(imread('example.png'),
                  from_cmap='jet', to_cmap='RdBu_r',
                  threshold=100)
imwrite('example_fix.png', example_fix)

About

You wished you hadn't used jet when you saved that figure? Here is a quick fix!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages