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

Using the aspect_ratio flag with plotly is unreliable. #4891

Open
eduardkieser opened this issue Feb 22, 2024 · 1 comment
Open

Using the aspect_ratio flag with plotly is unreliable. #4891

eduardkieser opened this issue Feb 22, 2024 · 1 comment

Comments

@eduardkieser
Copy link

My setup.
Julia 1.9.4
Plots v1.39.0
PlotlyJS v0.18.12

using Plots
plotly()  
xs = [1,2,3, 4]  
ys = [10,20,30, 40]  
scatter(xs, ys, aspect_ratio=1)  

I can pass any number as well as :equal to the aspect_ratio argument without any affect on the plot.

..follow up. more testing with the same setup, now confirms that it does work.

..2nd follow up. The problem is back again.

Originally posted by @eduardkieser in #4201 (comment)

@jonniediegelman
Copy link

I'm seeing the same issue. GR works fine, so it seems to be an issue with the Plotly backend.

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