Skip to content

Commit

Permalink
plot_kw_pop added
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahclaude committed Apr 4, 2024
1 parent 1410fab commit ecd17ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions figanos/matplotlib/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1675,13 +1675,13 @@ def scattermap(
)

# set defaults and create copy without vmin, vmax (conflicts with norm)
plot_kw = {
plot_kw_pop = {
"cmap": cmap,
"norm": norm,
"transform": transform,
"zorder": 8,
"marker": "o",
} | plot_kw
} | plot_kw_pop

# chek if edgecolors in plot_kw and match len of plot_data
if "edgecolors" in plot_kw:
Expand Down Expand Up @@ -1773,7 +1773,7 @@ def scattermap(
np.resize(sdata.values[mask], (sdata.values[mask].size, 1)),
np.resize(pt_sizes[mask], (pt_sizes[mask].size, 1)),
max_entries=6,
marker=plot_kw["marker"],
marker=plot_kw_pop["marker"],
)
# legend spacing
if size_range[1] > 200:
Expand Down

0 comments on commit ecd17ea

Please sign in to comment.