Skip to content

Commit d5dafdb

Browse files
Jorrit Wronskijenshnielsen
Jorrit Wronski
authored andcommitted
Update tight_bbox.py
Typo in the figure parameter
1 parent 9891b67 commit d5dafdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tight_bbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,6 @@ def process_figure_for_rasterizing(fig, bbox_inches_restore, fixed_dpi=None):
8383

8484
bbox_inches, restore_bbox = bbox_inches_restore
8585
restore_bbox()
86-
r = adjust_bbox(figure, bbox_inches, fixed_dpi)
86+
r = adjust_bbox(fig, bbox_inches, fixed_dpi)
8787

8888
return bbox_inches, r

0 commit comments

Comments
 (0)