Skip to content

Commit

Permalink
Update matplotlib_table.py
Browse files Browse the repository at this point in the history
refer to #117
  • Loading branch information
PaleNeutron authored Aug 30, 2024
1 parent 1aab6a7 commit 527edaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataframe_image/converter/matplotlib_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def parse_row(row):
for row in tbody.findall(".//tr"):
rows.append(parse_row(row))

if not thead and not tbody:
if not len(thead) and not len(tbody):
for row in tree.findall(".//tr"):
rows.append(parse_row(row))

Expand Down

0 comments on commit 527edaf

Please sign in to comment.