Skip to content

alishakiba/zz_forked_dayplot

 
 

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

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%