Skip to content

Commit 4f3d8c5

Browse files
committed
layout of the norm plot
1 parent 315b696 commit 4f3d8c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyat/at/plot/response_matrix.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def plot_norm(resp: ResponseMatrix, ax: Optional[tuple[Axes, Axes]] = None) -> N
1919
"""
2020
obs, var = resp.check_norm()
2121
if ax is None:
22-
fig, (ax1, ax2) = plt.subplots(nrows=2, gridspec_kw={"hspace": 0.5})
22+
fig, (ax1, ax2) = plt.subplots(nrows=2, layout="constrained")
2323
else:
2424
ax1, ax2 = ax[:2]
2525
ax1.bar(range(len(obs)), obs)

0 commit comments

Comments
 (0)