Skip to content

Commit 3a7d0dc

Browse files
committed
Better spacing between subplots
1 parent 4ce747a commit 3a7d0dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

panel/simdec_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def figure_pn(
230230
ax.set(xlabel=output_name)
231231
ax.set_xlim(xlim)
232232
else:
233-
fig, axs = plt.subplots(2, 2, sharex="col", sharey="row")
233+
fig, axs = plt.subplots(2, 2, sharex="col", sharey="row", figsize=(8, 8))
234234

235235
axs[0][1].axison = False
236236

@@ -270,7 +270,7 @@ def figure_pn(
270270
axs[1][1].set_ylim(ylim)
271271
axs[1][1].set_box_aspect(aspect=1)
272272

273-
fig.tight_layout()
273+
fig.subplots_adjust(wspace=0, hspace=0)
274274
return fig
275275

276276

0 commit comments

Comments
 (0)