Skip to content

Commit 0227f31

Browse files
committed
change y_scale.clamp value to False
1 parent 54e67a2 commit 0227f31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/penn_chime/charts.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def new_admissions_chart(
2121

2222
if max_y_axis is not None:
2323
y_scale.domain = (0, max_y_axis)
24-
y_scale.clamp = True
24+
y_scale.clamp = False
2525

2626
tooltip_dict = {False: "day", True: "date:T"}
2727
if as_date:
@@ -68,7 +68,7 @@ def admitted_patients_chart(
6868

6969
if max_y_axis:
7070
y_scale.domain = (0, max_y_axis)
71-
y_scale.clamp = True
71+
y_scale.clamp = False
7272

7373
return (
7474
alt.Chart(census.head(plot_projection_days))
@@ -109,7 +109,7 @@ def additional_projections_chart(
109109

110110
if max_y_axis is not None:
111111
y_scale.domain = (0, max_y_axis)
112-
y_scale.clamp = True
112+
y_scale.clamp = False
113113

114114
return (
115115
alt.Chart(dat)

0 commit comments

Comments
 (0)