Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping legend colorbar #525

Merged
merged 7 commits into from
May 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
added a check for scatter_kwargs
  • Loading branch information
jordanplanders committed May 3, 2024
commit a5a27d111c1502ab56eada2ff100fbd323029224
4 changes: 4 additions & 0 deletions pyleoclim/core/multivardecomp.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,10 @@ def modeplot(self, index=0, figsize=[8, 8], fig=None, savefig_settings=None,gs=N
map_gridspec_kwargs = map_kwargs.pop('gridspec_kwargs', {})
lgd_kwargs = map_kwargs.pop('lgd_kwargs', {})

if scatter_kwargs is None:
scatter_kwargs = {}
else:
scatter_kwargs = scatter_kwargs.copy()

if 'edgecolor' in map_kwargs.keys():
scatter_kwargs.update({'edgecolor': map_kwargs['edgecolor']})
Expand Down
Loading