ogstools.plot.heatmaps module#
heatmap functions.
- ogstools.plot.heatmaps.heatmap(data, variable, fig=None, ax=None, x_vals=None, y_vals=None, **kwargs)[source]#
Create a heatmap plot of given data.
- Parameters:
- Return type:
Figure | None
- Keyword Arguments:
figsize: figure size
dpi: resolution
vmin: minimum value of the colorbar
vmax: maximum value of the colorbar
num_levels: Number of levels (approximation)
log_scaled: If True, use logarithmic scaling
aspect: Aspect ratio of the plt.Axes (y/x)
fontsize: fontsize