JuliaGizmos / Interact.jl

Interactive widgets to play with your Julia code
Other
522 stars 77 forks source link

Plot size is too large in Juno #382

Closed HTofi closed 3 years ago

HTofi commented 3 years ago

Hello,

I'm using Interact to obtain an interactive plot and display it the Juno plot pane. However, for some reason the size of the plot is too large, and it can't be displayed whole in the plot pane:

@manipulate for i in 1:N
    plot(X[1:i,1], X[1:i,2], xlim=(-4, 5), ylim=(-3,5))
end

plot_interactive

A normal plot, on the other hand, appears with a small size:

plot(X[:,1], X[:,2], xlim=(-4, 5), ylim=(-3,5))

plot

I tried to modify the size attribute of the plot function, and while it does reduce the plot size, the fonts remain too large, and all lines and curves in the plot remain thick.

Any help is appreciated.

HTofi commented 3 years ago

Well, I do not know what the problem was, but it was solved after updating Julia. This issue can be closed.