Metadata-Version: 2.4
Name: hwostyle
Version: 1.0.0
Summary: Matplotlib style sheets and utilities for HWO direct imaging figures. Dual-mode dark (talks) and light (papers) themes with domain-specific colormaps.
Project-URL: Homepage, https://github.com/CoreySpohn/hwostyle
Project-URL: Issues, https://github.com/CoreySpohn/hwostyle/issues
Author-email: Corey Spohn <corey.a.spohn@nasa.gov>
License: MIT License
        
        Copyright (c) 2026 Corey Spohn
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Astronomy
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3.11
Requires-Dist: cycler
Requires-Dist: matplotlib>=3.8
Provides-Extra: dev
Requires-Dist: pre-commit; extra == 'dev'
Provides-Extra: docs
Requires-Dist: ipython; extra == 'docs'
Requires-Dist: matplotlib; extra == 'docs'
Requires-Dist: myst-nb; extra == 'docs'
Requires-Dist: sphinx; extra == 'docs'
Requires-Dist: sphinx-autoapi; extra == 'docs'
Requires-Dist: sphinx-autodoc-typehints; extra == 'docs'
Requires-Dist: sphinx-book-theme; extra == 'docs'
Provides-Extra: test
Requires-Dist: nox; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
Description-Content-Type: text/markdown

# hwostyle

Matplotlib style sheets and utilities for HWO direct imaging figures.

## Installation

```bash
pip install hwostyle
```

For development:
```bash
git clone https://github.com/CoreySpohn/hwostyle.git
cd hwostyle
pip install -e ".[dev,test]"
```

## Quick Start

```python
import hwostyle

# Switch to paper mode (white background, muted colors)
hwostyle.use("light")

# Switch to talk mode (black background, neon colors)
hwostyle.use("dark")

# Access the palette
colors = hwostyle.palette
colors.cyan   # '#08F7FE' in dark, '#0097A7' in light

# Use domain-specific colormaps
cmap = hwostyle.cmaps.intensity   # PSF images
cmap = hwostyle.cmaps.residual    # difference maps
cmap = hwostyle.cmaps.phase       # wavefront error
```

## Modes

| Feature | Dark (Talks) | Light (Papers) | Barbie |
|---------|-------------|----------------|--------|
| Background | Black | White | White |
| Colors | Neon (high saturation) | Muted (print-safe) | RdPu pinks |
| Line width | 2.5 | 1.5 | 1.0 |
| Font | Sans-serif | Sans-serif | Serif |
| Image cmap | `magma` | `viridis` | `RdPu` |

## Color Palette

| Name   | Dark         | Light       |
|--------|-------------|-------------|
| Cyan   | `#08F7FE`   | `#0097A7`   |
| Pink   | `#FE53BB`   | `#C2185B`   |
| Yellow | `#F5D300`   | `#F9A825`   |
| Green  | `#00FF41`   | `#2E7D32`   |
| Red    | `#FF0000`   | `#D32F2F`   |
| Purple | `#9467BD`   | `#7B1FA2`   |

### Barbie Palette

| Name    | Hex       |
|---------|-----------|
| Blush   | `#FAA6B7` |
| Rose    | `#F768A1` |
| Magenta | `#D42A92` |
| Berry   | `#9A017B` |
| Plum    | `#5E006F` |
