Skip to content

Commit a1721d9

Browse files
committed
some new plot changes
1 parent 9df2bd2 commit a1721d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

code/utils/plots.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def summary_plot(self,
7878
palette = sns.color_palette('pastel', n_colors=len(segments))
7979
y_max = max(0.6 + 0.3, 0.5) # max text_y + padding
8080
ax.set_ylim(-1, y_max)
81+
ax.set_xlim(0, 1440 + 200) # Add padding to the right (or whatever consistent total you want)
8182

8283
left = 0
8384
min_width_for_inside_label = 40 # in minutes

0 commit comments

Comments
 (0)