Commit ead8790f authored by Le Roux Erwan's avatar Le Roux Erwan
Browse files

[SCM] fix kde plot shape. modify its y axis

parent 696007a0
No related merge requests found
Showing with 3 additions and 1 deletion
+3 -1
...@@ -119,7 +119,9 @@ class StudyVisualizer(object): ...@@ -119,7 +119,9 @@ class StudyVisualizer(object):
# Kde plot, and retrieve the data forming the line # Kde plot, and retrieve the data forming the line
color_kde = 'b' color_kde = 'b'
sns.kdeplot(all_massif_data, bw=1, ax=ax, color=color_kde, vertical=self.vertical_kde_plot).set(xlim=0) sns.kdeplot(all_massif_data, ax=ax, color=color_kde, vertical=self.vertical_kde_plot)
ax.set(ylim=0)
ax.set(xlim=0)
data_x, data_y = ax.lines[0].get_data() data_x, data_y = ax.lines[0].get_data()
# Plot the mean and median points # Plot the mean and median points
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment