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

use equal aspect ratio by default for images #2427

Merged
merged 3 commits into from
Mar 1, 2020
Merged

Conversation

daschw
Copy link
Member

@daschw daschw commented Mar 1, 2020

close #1898

Changes

using Plots, Images, TestImages
img = testimage("lighthouse")
p = plot(img[:, 250:450])

from
aspect_old

to
aspect_new

@daschw
Copy link
Member Author

daschw commented Mar 1, 2020

Tested for GR, Plotly(JS) and PyPlot

@daschw daschw merged commit 16b8d01 into JuliaPlots:master Mar 1, 2020
@mkborregaard
Copy link
Member

nice ❤️

@daschw daschw deleted the ratio branch June 30, 2020 14:30
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.

use equal aspect ratio by default for images?
2 participants