Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6c93712961 | ||
|
|
9591638263 | ||
|
|
bb195b17e2 |
@@ -109,7 +109,7 @@ def _create_grid_annotation(
|
||||
+ font.getlength(WIDEST_LETTER)*2
|
||||
)
|
||||
if column_texts:
|
||||
top_padding = int(font.size * 2)
|
||||
top_padding = max(elem.count("\n") for elem in column_texts) * int(font.size) + int(font.size * 2)
|
||||
|
||||
image = Image.new(
|
||||
"RGB",
|
||||
|
||||
Reference in New Issue
Block a user