Skip to content

Commit 09251c5

Browse files
committed
pl.weights: use larger points for the legend
1 parent ba1ba9a commit 09251c5

2 files changed

Lines changed: 1 addition & 0 deletions

File tree

src/mofaflex/pl/_plotting.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,6 +1241,7 @@ def weights(
12411241
+ p9.geom_point(p9.aes(size="annotate"), stroke=0)
12421242
+ p9.scale_size_manual(breaks=(True, False), values=(pointsize, 0.25 * pointsize), guide=None)
12431243
+ _weights_inferred_color_scale
1244+
+ p9.guides(color=p9.guide_legend(override_aes={"size": 5, "alpha": 1}))
12441245
+ p9.labs(x="Rank", y="Weight", color="")
12451246
+ p9.theme(figure_size=figsize)
12461247
+ p9.geom_text(
-1.14 KB
Loading

0 commit comments

Comments
 (0)