diff --git a/dp_wizard/app/components/column_module.py b/dp_wizard/app/components/column_module.py index ef5e0d8..b99d33b 100644 --- a/dp_wizard/app/components/column_module.py +++ b/dp_wizard/app/components/column_module.py @@ -226,9 +226,11 @@ def data_frame(): def histogram_preview_plot(): accuracy, histogram = accuracy_histogram() s = "s" if contributions > 1 else "" - title = ( - f"Simulated {name}: normal distribution, " - f"{contributions} contribution{s} / invidual" + title = ", ".join( + [ + name if public_csv_path else f"Simulated {name}: normal distribution", + f"{contributions} contribution{s} / invidual", + ] ) return plot_histogram( histogram,