Draw monthly calendars and highlight dates
Project description
Categorical Colour Calendar
Library for drawing monthly calendars and highlighting dates from categorical events
Example
For more examples see the docs
Setup
pip install categorical-colour-calendar
Usage
import pandas as pd
from cccalendar import draw_colour_calendar
dates = pd.date_range(start='2021-01-01', end='2021-05-01')
df = pd.Series(range(len(dates)), index=dates)
draw_colour_calendar(df, {})
Development
pip install -e .[dev]
To Do
- Check DataFrame/Series compatibility
- Multiple events on one day
- Tests
- Allow override of default sizing/scaling values
- Test different Python versions
- Return fig/axes
- Docs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for categorical-colour-calendar-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64c5d4ca5de9f7fab1bcff6eb99298219e845c87b44c111807e62a29b2361532 |
|
MD5 | 5e591520ac134d0169032f5b0682998c |
|
BLAKE2b-256 | 70100cc734a0271604600b18f78e5078e2dd734c39872b0d115c8be8a9203492 |
Close
Hashes for categorical_colour_calendar-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa2d03740e391e4b149c2fe2b3886ad7bb2b918de4e962255830c73f255abfd1 |
|
MD5 | 6151088ec1942977477498b1fb0d28d4 |
|
BLAKE2b-256 | ffe8a7f653db3f705cb14cc95fc067f685b92f6f408107fa8757a08d6bfee6b4 |