Skip to content

Commit a35bfd5

Browse files
committed
use subplots_adjust instead of tight_layout
1 parent ee21736 commit a35bfd5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sklearn/ensemble/partial_dependence.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,5 +379,6 @@ def convert_feature(fx):
379379
ax.set_ylim(pdp_lim[1])
380380
axs.append(ax)
381381

382-
fig.tight_layout()
382+
fig.subplots_adjust(bottom=0.15, top=0.7, left=0.1, right=0.95, wspace=0.4,
383+
hspace=0.3)
383384
return fig, axs

0 commit comments

Comments
 (0)