Skip to content

Commit

Permalink
issue #383 update the plot name to include the plot type
Browse files Browse the repository at this point in the history
  • Loading branch information
bikegeek committed Mar 7, 2024
1 parent 54c07c6 commit d83921d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metplotpy/plots/tcmpr_plots/scatter/tcmpr_scatter.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(self, config_obj, column_info, col, case_data, input_df):
if self.config_obj.prefix is None or len(self.config_obj.prefix) == 0:
self.plot_filename = f"{self.config_obj.plot_dir}{os.path.sep}{out_file_x}_vs_{out_file_y}_scatter.png"
else:
self.plot_filename = f"{self.config_obj.plot_dir}{os.path.sep}{self.config_obj.prefix}.png"
self.plot_filename = f"{self.config_obj.plot_dir}{os.path.sep}{self.config_obj.prefix}_scatter.png"

# remove the old file if it exist
if os.path.exists(self.plot_filename):
Expand Down

0 comments on commit d83921d

Please sign in to comment.