Skip to content

Commit

Permalink
FIX plot: specify axes as array
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbrodbeck committed Jun 10, 2021
1 parent e152e1d commit 1b15b6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eelbrain/plot/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2130,6 +2130,8 @@ def __init__(
self.name = asfmtext_or_none(name) or title
if isinstance(axes, matplotlib.axes.Axes):
axes = [axes]
elif axes is not None:
axes = list(axes)
self.user_axes = axes

x = y = None
Expand Down

0 comments on commit 1b15b6e

Please sign in to comment.