Skip to main content

Highlight dates on monthly calendar(s) from categorical event data

Project description

Categorical Colour Calendar

Highlight dates on a monthly calendar from categorical events Example

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 Date/Datetime compatibility
  • Check DataFrame/Series compatibility
  • Multiple events on one day
  • Automatically assigned colours if not specified
  • Tests
  • Allow override of default sizing/scaling values
  • Test different Python versions
  • Return fig/axes (?)
  • Colour schemes

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.2.tar.gz (4.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