Metadata-Version: 2.1
Name: continuous-cmap
Version: 0.0.5
Summary: Create a continuous colormap in matplotlib
Home-page: https://github.com/CJP123/continuous_cmap/
Author: Clive
Author-email: clive@gm.net.nz
License: Apache Software License 2.0
Keywords: nbdev
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

Continuous Colourmap Fuction
================

<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

## Install

`pip install continuous_cmap`

## How to use

Simple paired colors and splits to generate a continuous colourmap.

``` python
hex_list = ['#2AA364', '#F5EB4D', '#9E4229', '#381D02', '#381D02', '#381D02']
float_list=[0, 0.15, .6,.75,.8,1]
cmap_1000 = get_continuous_cmap(hex_list = hex_list, float_list = float_list)
cmap_1000
```

![](index_files/figure-gfm/cell-2-output-1.png)

``` python
hex_list = ['#2AA364', '#F5EB4D', '#9E4229', '#381D02', '#381D02']
float_list=[0, 0.65, .75,.8,1]
cmap_1000 = get_continuous_cmap(hex_list = hex_list, float_list = float_list)
cmap_1000
```

![](index_files/figure-gfm/cell-3-output-1.png)


