pyiem.plot.calendarplot module#
Calendar Plot.
- pyiem.plot.calendarplot.calendar_plot(sts, ets, data, **kwargs)[source]#
Create a plot that looks like a calendar
- Parameters:
sts (datetime.date) – start date of this plot
ets (datetime.date) – end date of this plot (inclusive)
data (dict[dict]) – dictionary with keys of dates and dicts for val value and optionally color for color
kwargs (dict) – heatmap (bool): background color for cells based on val, False cmap (str): color map to use for norm apctx (dict): autoplot context.