Skip to content

Commit

Permalink
[swanson] flake8rules
Browse files Browse the repository at this point in the history
  • Loading branch information
berberto committed Sep 4, 2024
1 parent a906aa7 commit 3ef3e83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iblatlas/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -914,9 +914,9 @@ def plot_swanson_vector(acronyms=None, values=None, ax=None, hemisphere=None, br
norm = colors.Normalize(vmin=vmin, vmax=vmax)
rgba_color = colormap(norm(vals), bytes=True)
if show_cbar:
_cbar = fig.colorbar(cm.ScalarMappable(norm=norm, cmap=cmap),
ax=ax, orientation='vertical', extend=extend,
)
fig.colorbar(cm.ScalarMappable(norm=norm, cmap=cmap),
ax=ax, orientation='vertical', extend=extend,
)

if mask is not None:
imr, _ = br.propagate_down(mask, np.ones_like(mask))
Expand Down

0 comments on commit 3ef3e83

Please sign in to comment.