Skip to main content

Draw monthly calendars and highlight dates

Project description

Categorical Colour Calendar

Library for drawing monthly calendars and highlighting dates from categorical events

Example

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

categorical-colour-calendar-0.0.4.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page