Edinburgh-Genome-Foundry / DnaFeaturesViewer

:eye: Python library to plot DNA sequence features (e.g. from Genbank files)
https://edinburgh-genome-foundry.github.io/DnaFeaturesViewer/
MIT License
584 stars 90 forks source link

Truncated labels #43

Closed sejmodha closed 3 years ago

sejmodha commented 3 years ago

Hi There,

I have recently come across this and must say that found this tool really useful! Thanks for developing it. I have one small problem with feature display with long labels. Here is what I end up with, not sure what's causing it.

Screenshot 2020-09-25 at 16 06 38

Can you please help to figure out how to fix it?

Zulko commented 3 years ago

Use my_graphic_record.plot(... max_label_length=300) to get longer labels (sorry just noticed that this parameter doesn't appear in the parameters description of plot()).

sejmodha commented 3 years ago

Perfect! That resolved it, thanks for your help.

veghp commented 3 years ago

this parameter doesn't appear in the parameters description of plot()).

I added this to the dev branch now.