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

Hard-coded font size in plot_sequence #13

Closed webermarcolivier closed 5 years ago

webermarcolivier commented 5 years ago

The GraphicRecord:plot_sequence function accepts a fontdict argument of which the size attribute is hard-coded. Calling the function with graphic_record.plot_sequence(ax=ax, fontdict={'size':6}) fails. Expected behavior would be to have a default font size that can be changed by fontdict argument.

Zulko commented 5 years ago

Thanks for catching that, I was using a complex syntax and it bit me. It should work now (fixed on Github and PyPI).