Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7173482

Browse files
committed
TYP: Fix type of Glyph.bbox
It is in fact a read-only property, not a method.
1 parent e214945 commit 7173482

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/ft2font.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,4 +249,5 @@ class Glyph:
249249
vertBearingY: int
250250
vertAdvance: int
251251

252+
@property
252253
def bbox(self) -> tuple[int, int, int, int]: ...

0 commit comments

Comments
 (0)