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

Plot scaling #121

Open
Hilly12 opened this issue Aug 27, 2021 · 0 comments · May be fixed by #134
Open

Plot scaling #121

Hilly12 opened this issue Aug 27, 2021 · 0 comments · May be fixed by #134
Assignees
Labels
category:visualisations Eye candy to quickly compare metrics and understand differences in distributions/outcomes.

Comments

@Hilly12
Copy link
Contributor

Hilly12 commented Aug 27, 2021

Is your feature request related to a problem? Please describe.
I think y-axis of distribution plots needs to be scaled similarly for data from the same column.

1bd4b3f9-1e98-4b14-b805-e9e2823b7655
49eafd98-b3df-4022-aa15-181675a12c93

Describe the solution you'd like
We could set the upper y limit of the plot to some constant times the maximum value in the target column.

plt.ylim(0, df[target_attr].max() * 1.2)
@Hilly12 Hilly12 added the category:visualisations Eye candy to quickly compare metrics and understand differences in distributions/outcomes. label Aug 27, 2021
@Hilly12 Hilly12 self-assigned this Aug 27, 2021
@Hilly12 Hilly12 linked a pull request Sep 17, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:visualisations Eye candy to quickly compare metrics and understand differences in distributions/outcomes.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant