saezlab / liana

LIANA: a LIgand-receptor ANalysis frAmework
https://saezlab.github.io/liana/
GNU General Public License v3.0
160 stars 28 forks source link

Change font size for liana dotplot source headers #154

Open schroeme opened 1 month ago

schroeme commented 1 month ago

I have long (15+ character) strings for my source cluster names, and when I call liana.pl.dotplot(), the resulting plot has headers that overlap with one another and are illegible (see attached screenshot). I also get the seemingly related warning: Fontsize 0.00 < 1.0 pt not allowed by FreeType. Setting fontsize = 1 pt. Is there a way to manually specify font size, or rotate the labels so they are vertical?

Thanks, Margaret

Screen Shot 2024-06-08 at 12 21 16 PM