diff --git a/popmon/analysis/profiling/profiles.py b/popmon/analysis/profiling/profiles.py index fa660f52..2f9970e8 100644 --- a/popmon/analysis/profiling/profiles.py +++ b/popmon/analysis/profiling/profiles.py @@ -159,7 +159,12 @@ def profile_distinct(bin_labels, bin_counts): return len(np.unique(bin_labels[bin_counts > 0])) -@Profiles.register(key="fraction_of_true", description="", dim=1, htype="cat") +@Profiles.register( + key="fraction_of_true", + description="Compute fraction of 'true' (as in boolean) labels", + dim=1, + htype="cat", +) def profile_fraction_of_true(bin_labels, bin_counts): """Compute fraction of 'true' labels diff --git a/popmon/visualization/templates/assets/js/custom-script.js b/popmon/visualization/templates/assets/js/custom-script.js index 28afc936..873aa688 100644 --- a/popmon/visualization/templates/assets/js/custom-script.js +++ b/popmon/visualization/templates/assets/js/custom-script.js @@ -71,7 +71,7 @@ $("#toggleDescriptions").change(function() { } }); -var plotly_config = {scrollZoom: true, displaylogo: false, modeBarButtonsToRemove: ['lasso2d']} ; +var plotly_config = {scrollZoom: true, displaylogo: false, modeBarButtonsToRemove: ['lasso2d']}; const deepCopy = (inObject) => { diff --git a/popmon/visualization/templates/card.html b/popmon/visualization/templates/card.html index 27e0a4d4..0fbb6e00 100644 --- a/popmon/visualization/templates/card.html +++ b/popmon/visualization/templates/card.html @@ -14,29 +14,29 @@