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

Fix legend position layout #1128

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ThexXTURBOXx
Copy link

@ThexXTURBOXx ThexXTURBOXx commented Oct 9, 2023

Fixes #1123

This implementation uses the fact that the Position field is still properly populated when specifying a layout position for a legend.
However, note that the Unit is then normalized (meaning it should be normalized within the figure, not axis!). Because of this, it needs special treatment in the if condition afterwards.

@egeerardyn egeerardyn self-assigned this Oct 9, 2023
@egeerardyn egeerardyn self-requested a review October 9, 2023 17:02
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.

workaround for warning "unknown legend location 'layout'" in tiledlayout
2 participants