-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Subplots do not scale correctly when using plotlyjs() with Plots.jl #256
Comments
Does this produce what you're looking for? using PlotlyJS
t1 = scatter(;x=1:10, y=1:10, mode="line")
t2 = scatter(;x=10:20, y=10:20, mode="line")
[plot(t1); plot(t2)] |
Yes, it does. However, using Plots instead of PlotlyJS does not produce anymore: using Plots
plotlyjs()
t1 = scatter(;x=1:10, y=1:10, mode="line")
t2 = scatter(;x=10:20, y=10:20, mode="line")
[plot(t1); plot(t2)] |
Hi @holgerteichgraeber because it works when you use this package directly as noted by @cc7768, this is an issue that will need to be fixed in Plots.jl. I'm going to close here and encourage you to open an issue over there |
Thank you by the way for providing the requested information when you opened the issue! 👏 |
Thank you for looking into this, I'll open it over at Plots.jl 👍 |
** Description **
The second subplot seems to scale correctly, but the first one scales through the whole figure. See attached image.
This issue only occurs when using
plotlyjs()
. If that is replaced byplotly()
, everything seems to work fine.Minimum working example:
Version info
** Pkg status **
The text was updated successfully, but these errors were encountered: