Skip to content
 
 

Repository files navigation

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

import matplotlib.pyplot as plt
import dayplot as dp

df = dp.load_dataset()  # requires pandas to be installed

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.


Installation

pip install dayplot

Advanced usage

dayplot is designed to fit any matplotlib graph, allowing you to do things like:


Related projects



About

Calendar heatmaps with matplotlib

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages