Skip to content

Commit

Permalink
restore MPL toolbar for PSD plots (mne-tools#9331)
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock authored Apr 22, 2021
1 parent f90c595 commit 723ac8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne/viz/_figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -2307,7 +2307,7 @@ def _line_figure(inst, axes=None, picks=None, **kwargs):
fig = axes[0].get_figure()
else:
figsize = kwargs.pop('figsize', (10, 2.5 * n_axes + 1))
fig = _figure(inst=inst, toolbar=False, FigureClass=MNELineFigure,
fig = _figure(inst=inst, toolbar=True, FigureClass=MNELineFigure,
figsize=figsize, n_axes=n_axes, **kwargs)
fig.mne.fig_size_px = fig._get_size_px() # can't do in __init__
axes = fig.mne.ax_list
Expand Down

0 comments on commit 723ac8f

Please sign in to comment.