Package calplot is a fork of calmap 0.0.7-dev with the following changes and additions.
Todo
- Added argument
weekstart
for functionyearplot
to specify the index representing the day of week of the first day in each week in the generated plot. Defaults to 0, which represents Monday.
Since version 0.1.7 (Mar 3, 2021):
- Added argument
tight_layout
for functioncalplot
to specify whether to use tight layout for the figure. Defaults toTrue
. - Added argument
monthlabeloffset
for functionyearplot
to specify day offset for month labels to adjust the horizontal alignment of labels. Defaults to15
. - Added argument
suptitle_kws
for functioncalplot
to specify arguments to Matplotlibsuptitle
call. Defaults to empty dict. - Changed argument
colorbar
default toNone
. - Changed argument
dropzero
default toNone
.
Since version 0.1.6 (Dec 24, 2020):
- Added argument
textformat
for functionyearplot
to specify the text format string for grid cell text. Defaults toNone
. - Added argument
textfiller
for functionyearplot
to specify the fallback text for grid cell text. Defaults to empty string. - Added argument
textcolor
for functionyearplot
to specify the text color for grid cell text. Defaults toblack
.
Since version 0.1.5 (Dec 23, 2020):
- Added argument
edgecolor
for functionyearplot
to specify color of seperation lines between months. Defaults togray
. Note that lines can be turned off by setting the argument toNone
without quotes.
Since version 0.1.3 (Aug 17, 2020):
- Removed legacy code for compatibility to fix a FutureWarning in
yearplot
. Note thatpandas>=1
is now required to install the package.
Since version 0.1.2 (Jan 15, 2020):
- Added argument
dropzero
for functionyearplot
to specify whether to not fill a cell with a color for days with a zero value. Defaults toFalse
.
Since version 0.1.1 (Jan 15, 2020):
- Renamed function
calendarplot
tocalplot
. - Added argument
colorbar
for functioncalplot
to display a colorbar to the right of the heatmap if more than one unique values in plot. Defaults toTrue
. - Added argument
figsize
for functioncalplot
. Defaults to a tighter layout automatically adjusted to fit the number of years in plot. - Added argument
suptitle
for functioncalplot
. Defaults toNone
. - Changed default colormap
cmap
for functioncalplot
toviridis
.