Skip to content

Commit d0b37ee

Browse files
author
Niru Nahesh
committed
Adds API to docs, bumps version.
1 parent 72bdc39 commit d0b37ee

12 files changed

Lines changed: 67 additions & 4 deletions

File tree

docs/api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# API
2+
3+
List of modules
4+
---------------
5+
6+

docs/api/chart_utils.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# chart_utils
2+
::: jetplot.chart_utils

docs/api/colors.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# colors
2+
::: jetplot.colors

docs/api/images.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# images
2+
::: jetplot.images

docs/api/plots.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# plots
2+
::: jetplot.plots

docs/api/signals.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# signals
2+
::: jetplot.signals

docs/api/style.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# style
2+
::: jetplot.style

docs/api/timepiece.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# timepiece
2+
::: jetplot.timepiece

docs/index.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
11
# Jetplot
22

3+
4+
[![Tests](https://github.com/nirum/jetplot/actions/workflows/ci.yml/badge.svg)](https://github.com/nirum/jetplot/actions/workflows/ci.yml)
5+
[![Typecheck](https://github.com/nirum/jetplot/actions/workflows/typecheck.yml/badge.svg)](https://github.com/nirum/jetplot/actions/workflows/typecheck.yml)
6+
37
Welcome to the **jetplot** documentation.
48

5-
`jetplot` is a collection of miscellaneous utilities for Matplotlib that simplify creating rich visualizations and color palettes.
9+
## About
10+
11+
`jetplot` is a collection of miscellaneous utilities for Matplotlib that simplify creating rich visualizations and color palettes. It was created in 2015 by [Niru Maheswaranathan](https://niru.dev).
12+
13+
14+
## Installation
15+
16+
```bash
17+
pip install jetplot
18+
```
19+
20+
## Changelog
21+
22+
| Version | Release Date | Description |
23+
| ------: | :----------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
24+
| 0.6.0 | Jul 21 2024 | Migrated from setup.py to pyproject.toml. |
25+
| 0.5.3 | Aug 30 2022 | Stops jetplot from updating Matplotlib rcParams on import. |
26+
| 0.5.0 | Jul 15 2022 | Updates default color palettes, adds new Palette class, adds ridgeline plot. |
27+
| 0.4.0 | Oct 20 2021 | Name change! Package renamed to `jetplot`. |
28+
| 0.3.0 | Oct 13 2021 | Drops animation module and the `moviepy` dependency |
29+
| 0.0.0 | Jan 19 2015 | Initial commit |
30+
31+
## License
632

33+
MIT. See [`LICENSE.md`](./LICENSE.md)

justfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,13 @@ test:
2020

2121
loop:
2222
find {src,tests} -name "*.py" | entr -c just test
23+
24+
autoapi:
25+
mkdir -p docs/api/
26+
@for f in ./src/jetplot/*.py; do \
27+
name="${f##*/}"; \
28+
name="${name%.py}"; \
29+
[[ "$name" == "__init__" ]] && continue; \
30+
printf "# %s\n::: jetplot.%s\n" "${name}" "$name" > "docs/api/${name}.md"; \
31+
echo "wrote ${name}.md"; \
32+
done

0 commit comments

Comments
 (0)