decoupler-py icon indicating copy to clipboard operation
decoupler-py copied to clipboard

plot_associations right scale not showing

Open jflucier opened this issue 1 week ago • 0 comments

Hi,

I run plot_associations function but the image doesnt generate the scale at the right of the image.

Here is the call:

decoupler.plot_associations(
        pdata,
        uns_key='pca_anova',  # Summary statistics from the anova tests
        obsm_key='X_pca',  # where the PCs are stored
        stat_col='p_adj',  # Which summary statistic to plot
        obs_annotation_cols=['sample', 'clustifyr_cell_label_0_1'],  # which sample annotations to plot
        titles=['Principle component scores', 'Adjusted p-values from ANOVA'],
        figsize=(7, 5),
        n_factors=10,
        save="/storage/Documents/service/externe/ilan/20241209_scRNAseq_FL_SA/out/06-DifferentialGeneExpression/test.png",
    )

Here is the image produced: Image

My venv has the folowing packages installed: marsilea 0.4.5 (also tried with 0.5.0) decoupler 1.9.2

I also tried changing figsize with no success

Thanks for your help,

jflucier avatar Feb 18 '25 18:02 jflucier