Common features across plots
This page aims to list common features present across the different functions in the package (not all functions have them).
- Changing the font size: Use
font.sizeparameter and provide a number. - Changing the font type: Use
font.typeparameter and provide either sans, mono or serif. - Add plot titles, subtitles and captions: Use
plot.title,plot.subtitleandplot.captionparameters alongside a text to display. - Changing between legend types in continuous variables: Use
legend.typeparameter and provide either normal, colorbar or colorsteps. - Relocate the legend: Use
legend.positionparameter alongside top, bottom, left or right or none to remove it. - Changing the font size: Use
font.sizeparameter and provide a number. - Modify default colors: Use
colors.usefor categorical variables andviridis_color_mapfor continuous (exceptions apply, see the corresponding subsection) and provide valid color representations or a valid viridis color map. _ Modify the direction of continuous color scales: Used alongsizeviridis_color_map, provide either 1 or -1 toviridis_directionto specify whether the viridis scale goes from dark to light or vice versa. - Plot borders around cells: Use
plot_cell_bordersparameter alongsideborder.sizeandborder.colorto customize how it looks. - Toggle the grid on or off: Use
plot.gridparameter alongsidegrid.typefor the type of lines andgrid.colorfor the grid color to customize it. - Toggle axes on or off: Use
plot.axesparameter to remove the axes. - Subset a continuous axis: Use
min.cutoffandmax.cutoff. - Rasterize figures: Use
rasterandraster.dpiparameters. It is important to play around withpt.sizeparameter in order to get the output figure right.