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

dotplot legend label error #274

Open
loriglenwinkel opened this issue Aug 25, 2024 · 1 comment
Open

dotplot legend label error #274

loriglenwinkel opened this issue Aug 25, 2024 · 1 comment

Comments

@loriglenwinkel
Copy link

Setup

I am reporting a problem with GSEApy version, Python version, and operating
system as follows:

3.10.12 | packaged by conda-forge | (main, Jun 23 2023, 22:40:32) [GCC 12.3.0]
CPython
Linux-4.14.348-265.565.amzn2.x86_64-x86_64-with-glibc2.35
1.1.3

Expected behaviour

correct dotplot label should be "proportion Genes in set"

Actual behaviour

The dotplot label currently reads ‘% Genes in set’, but the values displayed are proportions (e.g., 0.4 instead of 40%). To ensure the units match, either the legend values should be multiplied by 100 or the label should be adjusted to reflect proportions shown.”

Steps to reproduce

gp.dotplot(enr_up.res2d, figsize=(3,5), title="Up", cmap = plt.cm.autumn_r)

zqfang pushed a commit that referenced this issue Aug 29, 2024
@zqfang
Copy link
Owner

zqfang commented Aug 29, 2024

Good catch. Thanks for the report. Fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants