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

Skip to content

Commit 8d871d7

Browse files
committed
MNT: use tight layout in output figure
1 parent 9b3543a commit 8d871d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unit/memleak.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def run_memleak_test(bench, iterations, report):
7777

7878
if not report.endswith('.pdf'):
7979
report = report + '.pdf'
80+
fig.tight_layout()
8081
fig.savefig(report, format='pdf')
8182

8283

0 commit comments

Comments
 (0)