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

Aspect ratio should adjust lims, not image size? #2070

Closed
kescobo opened this issue Jun 21, 2019 · 2 comments
Closed

Aspect ratio should adjust lims, not image size? #2070

kescobo opened this issue Jun 21, 2019 · 2 comments

Comments

@kescobo
Copy link

kescobo commented Jun 21, 2019

Example:

using Plots
x = collect(1:100)
y = rand(100)

plot(x,y, aspect_ratio=1)

Screen Shot 2019-06-21 at 2 35 56 PM

From discourse, @mkborregaard said:

BTW I think it’s a bug that Plots adjusts the image size by the aspect_ratio. It should use aspect_ratio to redefine the x and y lims

May affect JuliaPlots/StatsPlots.jl#230

@mkborregaard
Copy link
Member

This was already fixed in #2061

@kescobo
Copy link
Author

kescobo commented Jun 21, 2019

oops, sorry!

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

No branches or pull requests

2 participants