Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jona-sassenhagen authored and larsoner committed Apr 22, 2019
1 parent 8ac51be commit a2f4634
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mne/viz/evoked.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ def _plot_image(data, ax, this_type, picks, cmap, unit, units, scalings, times,
_check_if_nan(data)

im, t_end = _plot_masked_image(
ax, data, times, mask, picks=None, yvals=None, cmap=cmap[0],
ax, data, times, mask, yvals=None, cmap=cmap[0],
vmin=vmin, vmax=vmax, mask_style=mask_style, mask_alpha=mask_alpha,
mask_cmap=mask_cmap)

Expand Down
2 changes: 1 addition & 1 deletion mne/viz/topo.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def _imshow_tfr(ax, ch_idx, tmin, tmax, vmin, vmax, onselect, ylim=None,
times = np.linspace(tmin, tmax, num=tfr[ch_idx].shape[1])

img, t_end = _plot_masked_image(
ax, tfr[ch_idx], times, mask, picks=None, yvals=freq, cmap=cmap,
ax, tfr[ch_idx], times, mask, yvals=freq, cmap=cmap,
vmin=vmin, vmax=vmax, mask_style=mask_style, mask_alpha=mask_alpha,
mask_cmap=mask_cmap, yscale=yscale)

Expand Down
2 changes: 1 addition & 1 deletion mne/viz/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2576,7 +2576,7 @@ def _check_time_unit(time_unit, times):
return time_unit, times


def _plot_masked_image(ax, data, times, mask=None, picks=None, yvals=None,
def _plot_masked_image(ax, data, times, mask=None, yvals=None,
cmap="RdBu_r", vmin=None, vmax=None, ylim=None,
mask_style="both", mask_alpha=.25, mask_cmap="Greys",
yscale="linear"):
Expand Down

0 comments on commit a2f4634

Please sign in to comment.