Skip to content

Commit 1e91f12

Browse files
committed
axes for case with one treatment period
1 parent ef1dc11 commit 1e91f12

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

doubleml/did/did_multi.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -946,8 +946,6 @@ def plot_effects(
946946
fig = plt.figure(figsize=figsize)
947947
gs = fig.add_gridspec(n_periods + 1, 1, height_ratios=[3] * n_periods + [0.5])
948948
axes = [fig.add_subplot(gs[i]) for i in range(n_periods)]
949-
if n_periods == 1:
950-
axes = [axes]
951949

952950
# Auto-calculate jitter if not specified
953951
if jitter_value is None:

0 commit comments

Comments
 (0)