You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to minimize the size of a gif I'm making by adjusting the size property. While using the gr backend I get (one per frame) GKS: Rectangle definition is invalid in routine SET_VIEWPORT when trying to have a small slide size. I quickly found out that the spatial size of the resulting gif is 6 times larger than whatever I supply size with.
Consider this MWE:
using Plots
anim =Animation()
for i in1:100
h = [plot(rand(10)) for i in1:4]
plot(h..., size = (100,100))
frame(anim)
endgif(anim, "a.gif", fps =30)
This spits tons of GKS messages and results in a gif that is 600×600 pixels large. Weird.
I'll just add that if we had just one plot instead of 4 subplots the GKS warnings disappear but the file is still 600×600 pixels large...
The text was updated successfully, but these errors were encountered:
I'm trying to minimize the size of a gif I'm making by adjusting the
size
property. While using thegr
backend I get (one per frame)GKS: Rectangle definition is invalid in routine SET_VIEWPORT
when trying to have a small slide size. I quickly found out that the spatial size of the resulting gif is 6 times larger than whatever I supplysize
with.Consider this MWE:
This spits tons of
GKS
messages and results in a gif that is 600×600 pixels large. Weird.I'll just add that if we had just one plot instead of 4 subplots the
GKS
warnings disappear but the file is still 600×600 pixels large...The text was updated successfully, but these errors were encountered: