Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust annotation legend height if there are too many annotations #19

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

taunometsalu
Copy link
Contributor

If there are many annotations in the legend, at the moment some annotations flow out of the plotting area. In the pull request, font size is automatically decreased so that the whole annotation legend will fit to the page.

And a smaller change: when calculating longest row names and column names, take into account that annotation names are bold.

taunometsalu and others added 5 commits July 20, 2015 10:40
Take into account that annotation names are bold
Automatically scale down height of annotation legend if it is too long
Automatically scale down row and column names if the font is too large to fit to the plot, to avoid broken plots.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant