Skip to content

Commit

Permalink
minor plotting updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mpecchi committed May 13, 2024
1 parent f17c60d commit d98c0e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hplc_data_analysis/hplc.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ def save_files_samples_reports(self):

def plot_report(
self,
filename: str = "",
report_or_aggrrep: Literal["report", "aggrrep"] = "report",
files_replicates_or_samples: Literal["files", "replicates", "samples"] = "samples",
param: str = "conc_vial_mg_L",
Expand Down Expand Up @@ -636,7 +637,7 @@ def plot_report(
df_std = df_std[mask]

default_kwargs = {
"filename": report_or_aggrrep + files_replicates_or_samples + param,
"filename": filename + report_or_aggrrep + files_replicates_or_samples + param,
"out_path": out_path,
"height": 4,
"width": 4,
Expand Down

0 comments on commit d98c0e5

Please sign in to comment.