We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9df2bd2 commit a1721d9Copy full SHA for a1721d9
code/utils/plots.py
@@ -78,6 +78,7 @@ def summary_plot(self,
78
palette = sns.color_palette('pastel', n_colors=len(segments))
79
y_max = max(0.6 + 0.3, 0.5) # max text_y + padding
80
ax.set_ylim(-1, y_max)
81
+ ax.set_xlim(0, 1440 + 200) # Add padding to the right (or whatever consistent total you want)
82
83
left = 0
84
min_width_for_inside_label = 40 # in minutes
0 commit comments