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 for 480 #484

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Fix for 480 #484

wants to merge 6 commits into from

Conversation

schaumb
Copy link
Contributor

@schaumb schaumb commented Jan 26, 2024

closes #480

(probably this check is not in the right place.)

@schaumb schaumb requested a review from simzer January 26, 2024 11:39
@simzer
Copy link
Member

simzer commented Jan 26, 2024

I'm not sure if we would like to have this behaviour. If the use explicitly sets a legend, they might want to have the space even if there is no legend. Usecase: there are 3 chart in a data story, 1st and 3rd have legend, but not for the 2nd. In this case the user might not want the chart to get wider then narrower.

@schaumb
Copy link
Contributor Author

schaumb commented Jan 26, 2024

If the user wants to explicitly set a legend without drawing, then we need an option for that (an empty channel).

@schaumb schaumb marked this pull request as draft February 21, 2024 13:09
@schaumb schaumb marked this pull request as ready for review May 17, 2024 21:49
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.

Invisible legend modifies plot area size
2 participants