Skip to content

Commit 9c2ec13

Browse files
committed
Moved the legend to the bottom of the chart #465.
Moved the legend to the bottom of the chart #465.
1 parent 80f8551 commit 9c2ec13

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ devel.ipynb
2626

2727
# build artifacts
2828
results/
29+
runtime.txt

runtime.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
python-3.7.2
1+
python-3.7.7
22

src/penn_chime/charts.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def new_admissions_chart(
5353
"key:N",
5454
],
5555
)
56-
.interactive()
56+
.configure_legend(orient='bottom').interactive()
5757
)
5858

5959

@@ -93,7 +93,7 @@ def admitted_patients_chart(
9393
"key:N",
9494
],
9595
)
96-
.interactive()
96+
.configure_legend(orient='bottom').interactive()
9797
)
9898

9999

@@ -133,7 +133,7 @@ def additional_projections_chart(
133133
tooltip=["key:N", "value:Q"],
134134
color="key:N",
135135
)
136-
.interactive()
136+
.configure_legend (orient='bottom').interactive()
137137
)
138138

139139

0 commit comments

Comments
 (0)