Metadata-Version: 2.4
Name: bad-color-map
Version: 0.1.0
Summary: 
License: GPL-3.0-or-later
License-File: LICENSE.txt
Author: Thomas Holland
Author-email: 101332229+0thomasholland@users.noreply.github.com
Requires-Python: >=3.14
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: colorspacious (>=1.1.2,<2.0.0)
Requires-Dist: importlib (>=1.0.4,<2.0.0)
Requires-Dist: matplotlib (>=3.10.7,<4.0.0)
Requires-Dist: numpy (>=2.3.5,<3.0.0)
Requires-Dist: pillow (>=12.0.0,<13.0.0)
Project-URL: Homepage, https://github.com/0thomasholland/bad-color-map
Description-Content-Type: text/markdown

# Bad colo(u)r map

Some bad color maps for [Matplotlib](https://matplotlib.org/) to make plotting amusing figures easier.

## Color maps

![Bad Color Maps](figs/bad_color_maps.png)

![Lightness plots](figs/lightness.png)

Not the most ideal...

## Usage

To use this:

```python
import matplotlib.pyplot as plt
import bad_color_map

plt.XYZ(
    ...
    cmap='painbow'  # or 'michel-levy'
    ...
)

```

## Sources:

- Painbow: [XKCD 2537](https://xkcd.com/2537/)
- Michel-Levy: Bjørn Eske Sørensen; A revised Michel-Lévy interference colour chart based on first-principles calculations. European Journal of Mineralogy 2012;; 25 (1): 5–10. doi: https://doi.org/10.1127/0935-1221/2013/0025-2252
