https://github.com/josephbarbierdarnal/dayplot
Calendar heatmaps with matplotlib
https://github.com/josephbarbierdarnal/dayplot
calendar heatmap matplotlib
Last synced: 5 months ago
JSON representation
Calendar heatmaps with matplotlib
- Host: GitHub
- URL: https://github.com/josephbarbierdarnal/dayplot
- Owner: JosephBARBIERDARNAL
- License: mit
- Created: 2025-01-18T11:58:54.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-04-24T13:43:11.000Z (5 months ago)
- Last Synced: 2025-04-24T14:44:57.433Z (5 months ago)
- Topics: calendar, heatmap, matplotlib
- Language: Python
- Homepage: https://josephbarbierdarnal.github.io/dayplot/
- Size: 19.6 MB
- Stars: 72
- Watchers: 2
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- License: LICENSE
Awesome Lists containing this project
README
> `dayplot` is supported by [Matplotlib Journey](https://www.matplotlib-journey.com/), an interactive online course designed to make you a master of Matplotlib. If you want to **support `dayplot`** and **become a Matplotlib expert**, consider purchasing the course!
# dayplot
A simple-to-use Python library to build **calendar heatmaps** with ease.
It's built on top of **matplotlib** and leverages it to access high customization possibilities.
## Quick start
```py
import matplotlib.pyplot as plt
import dayplot as dpdf = dp.load_dataset()
fig, ax = plt.subplots(figsize=(15, 6))
dp.calendar(
dates=df["dates"],
values=df["values"],
start_date="2024-01-01",
end_date="2024-12-31",
ax=ax,
)
```
More examples in the [documentation](https://josephbarbierdarnal.github.io/dayplot/).
## Installation
```bash
pip install dayplot
```
## Related projects
- [calplot](https://github.com/tomkwok/calplot)
- [july](https://github.com/e-hulten/july)
- [calendarplot](https://github.com/dhowland/calendarplot)