/mplcal

Create a standard calendar view from python using matplotlib

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

mplcal

Create basic printable calendars from Python.

Example:

Create this calendar:

Example output of program

with the code:

from mplcal import MplCalendar
feb = MplCalendar(2017, 2) # 2017, February
feb.add_event(1, '1st day of February')
feb.add_event(5, '         1         2         3         4         5         6')
feb.add_event(5, '123456789012345678901234567890123456789012345678901234567890')
feb.add_event(18, 'OSLL Field Maintenance Day')
feb.add_event(18, 'OSLL Umpire Mechanics Clinic')
feb.add_event(20, 'Presidents day')
feb.add_event(25, 'OSLL Opening Day')
feb.add_event(28, 'T-Ball Angels vs Dirtbags at OSLL')

feb.add_event(14, 'Valentines Day!')
feb.color_day(14, 'mistyrose')

feb.show()