Skip to content

Commit

Permalink
AMD
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbrodbeck committed Jun 4, 2021
1 parent b15dbc1 commit 287783c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eelbrain/plot/_brain.py
Original file line number Diff line number Diff line change
Expand Up @@ -1638,9 +1638,9 @@ def _capture(self, b, views, mode, antialiased, ims, hemi, i, shift):
im = b.screenshot_single(mode, antialiased)
if shift:
if hemi == 'lh':
im = np.concatenate([im[:, -shift:], im[:, :-shift]])
im = np.concatenate([im[:, -shift:], im[:, :-shift]], axis=1)
else:
im = np.concatenate([im[:, shift:], im[:, :shift]])
im = np.concatenate([im[:, shift:], im[:, :shift]], axis=1)
ims[hemi, i, view] = im


Expand Down

0 comments on commit 287783c

Please sign in to comment.