Skip to content

Commit

Permalink
Merge branch 'dev' into fix/add_oem2orm_pckg
Browse files Browse the repository at this point in the history
  • Loading branch information
MaGering committed Sep 11, 2023
2 parents 08fd9ea + 8ab28c7 commit 51918b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/plot_conv_pp_scalars.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,7 @@ def plot_grouped_bar(ax, df, color_dict, unit, stacked=False):
# TODO: Check if oemoflex' function can be imported and used here
plot_grouped_bar(ax, df_pivot, COLORS, UNIT)

plt.savefig(target + config.settings.general.plot_filetype, bbox_inches="tight")
# Create the target path according to file type set in settings
target_path = target.split(".")[0] + config.settings.general.plot_filetype

plt.savefig(target_path, bbox_inches="tight")

0 comments on commit 51918b3

Please sign in to comment.