breos.plotting.plot_location_comparison_delta#
- breos.plotting.plot_location_comparison_delta(delta_data, results_directory, loc_a, loc_b, filename='grid_independence_delta.png', metric_label='Grid Independence Delta (pp)')[source]#
Plot a diverging heatmap of the difference in a metric between two locations.
- Parameters:
delta_data (
DataFrame) – DataFrame with battery capacity as index, module counts as columns, andloc_a - loc_bvalues in percentage points.results_directory (
str) – Directory to save the plotloc_a (
str) – Name of location Aloc_b (
str) – Name of location Bfilename (
str) – Output filenamemetric_label (
str) – Colorbar label
- Return type: