From bc8e54d3b4ec7526c50e46a73bcde2d440a065e6 Mon Sep 17 00:00:00 2001 From: PrinceWalnut Date: Tue, 17 Dec 2024 20:12:59 -0500 Subject: [PATCH] Removed reset_index() call causing DataFrame indices to be plotted --- careless/stats/completeness.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/careless/stats/completeness.py b/careless/stats/completeness.py index 7dbbcab..7d20f91 100644 --- a/careless/stats/completeness.py +++ b/careless/stats/completeness.py @@ -46,7 +46,7 @@ def run_analysis(args): print(results.to_string(index=False)) ax = sns.lineplot( - data=results.reset_index().melt(xlabel), + data=results.melt(xlabel), x=xlabel, y='value', hue='variable',