From a2fc93fe2fce1fe9ec59ec96ca8a43cab35a5513 Mon Sep 17 00:00:00 2001 From: Michael Reuscher <michael.reuscher@desy.de> Date: Mon, 17 Jul 2023 09:22:54 +0200 Subject: [PATCH] problem with violinplot solved --- visualizer/visualizer/SeabornPlotter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/visualizer/visualizer/SeabornPlotter.py b/visualizer/visualizer/SeabornPlotter.py index 8d445f9..35cf48d 100644 --- a/visualizer/visualizer/SeabornPlotter.py +++ b/visualizer/visualizer/SeabornPlotter.py @@ -17,7 +17,7 @@ class SeabornPlotter: title = "Procedure: {}".format(self.name) f, ax = plt.subplots(figsize=(16, 9)) - sns.violinplot(x=x, y=y, s=5, color=".15", palette="light:b", inner="points", + sns.violinplot(x=x, y=y, s=5, color=".15", palette="light:b", cut=0, inner="points", hue=list(self.dataframe.index.get_level_values(0))) if self.name == "dump" or self.name == "write" or self.name == "open" or self.name == "wait": ax.set_yscale('symlog', linthresh=0.1) -- GitLab