joiningdata / lollipops

Lollipop-style mutation diagrams for annotating genetic variations.
GNU General Public License v3.0
182 stars 70 forks source link

Legend squished when changing to .png format #47

Closed ytakemon closed 4 years ago

ytakemon commented 4 years ago

Hello,

I am running the following code to generate a .png file of my protein of interest. I was wondering if there was a way to reformat the legend so that they are not overlapping and display clearly. I have been adjusting the width -w option, but I couldn't resolve my problem.

Do you have any recommendations for how I can adjust the height so that the legends aren't overlapping?

./lollipops \
-o=ACH000840_CIC_long_lollipop.png \
-w=2500 -dpi=500 \
-legend -labels -U I3L2J0 S1703*@100

Interestingly this problem doesn't occur when I use the .svg format:

./lollipops \
-o=ACH000840_CIC_long_lollipop.svg \
-legend -labels -U I3L2J0 S1703*@100

Thank you in advance!

pbnjay commented 4 years ago

interesting, it looks like the DPI setting isn't taken into account with the font sizes. I should be able to get a fix in soon

pbnjay commented 4 years ago

OK can you try the latest release and let me know if it works? https://github.com/joiningdata/lollipops/releases/tag/v1.5.3

ytakemon commented 4 years ago

Hi @pbnjay - works well on my end! Thanks for the quick fix!