dorkhub

dayplot

Calendar heatmaps made super simple and highly customizable

y-sunflower
Python1575 forksMITupdated 4 weeks ago
visit the demogit clone https://github.com/y-sunflower/dayplot.gity-sunflower/dayplot

dayplot

dayplot logo

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.

PyPI Downloads


Quick start

import matplotlib.pyplot as plt
import dayplot as dp

df = 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.


Installation

pip install dayplot

Related projects

more like this

ForwardWidgets

Widgets for Douban and Trakt watchlists plus personalized recommendations, live TV streaming including PlutoTV, Yatu ra…

JavaScript247

journee-diary

A lightweight, simplified, RedNotebook-inspired journal/diary app. Built with Electron. Makes dated text files.

JavaScript54

life-calendar

View and plan your life in an online calendar by visually by seeing it from days to decades

JavaScript59

search

search projects, people, and tags