Skip to content

Commit c4dc5ea

Browse files
committed
Don't use rows without data
1 parent c08deb1 commit c4dc5ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

07_chart_types/bar_chart_stacked.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def create_bar_chart(sheet):
2929

3030
data = Reference(worksheet=sheet,
3131
min_row=1,
32-
max_row=10,
32+
max_row=7,
3333
min_col=2,
3434
max_col=3)
3535
bar_chart.add_data(data, titles_from_data=True)

0 commit comments

Comments
 (0)