How to adjust graph in scanpy?
0
0
Entering edit mode
10 months ago
bioinfo ▴ 140

Hello,

I am trying to create some violin plots with scanpy. However, the name of the axis of one of the plots is on top of another plot. The command that I am using is

sc.pl.violin(adata, ['n_genes_by_counts', 'total_counts', 'pct_counts_mt','pct_counts_ribo', 'pct_counts_hb'],
             jitter=0.4, groupby = 'sample', rotation= 45)

I took the command from this tutorial https://nbisweden.github.io/workshop-scRNAseq/labs/compiled/scanpy/scanpy_01_qc.html and I noticed that they are having the same issue. It is the first plot on the 5.Plot QC part. The total counts legend is on top of the other graph. Is there a way to fix this?

Thank you

scanpy single-cell RNA-seq • 394 views
ADD COMMENT

Login before adding your answer.

Traffic: 2488 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6