valpas.visualization.heatmap.create_fig#

valpas.visualization.heatmap.create_fig(df, fig_out=None, cbarlabel=None)#

Helper function to generate figure.

Parameters:
  • df (pd.DataFrame) – DataFrame that contains association values to be plotted.

  • fig_out (str, default=None) – Path to where the figure should be saved. If fig_out is omitted, the Figure is not saved.

  • cbarlabel (str, default=None) – Name for the colorbar.