Skip to content

Commit d49459d

Browse files
authored
Merge pull request #315 from DoubleML/p-fix-plot
axes for case with one treatment period
2 parents 9152d75 + 1e91f12 commit d49459d

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
@@ -970,8 +970,6 @@ def plot_effects(
970970
fig = plt.figure(figsize=figsize)
971971
gs = fig.add_gridspec(n_periods + 1, 1, height_ratios=[3] * n_periods + [0.5])
972972
axes = [fig.add_subplot(gs[i]) for i in range(n_periods)]
973-
if n_periods == 1:
974-
axes = [axes]
975973

976974
# Auto-calculate jitter if not specified
977975
if jitter_value is None:

0 commit comments

Comments
 (0)