Fix contour colors scale

Hello,
I would like to show an animation of a contour plot. For better visualization, it would be ideal if I could fix the colorbar in addition to the levels.

Example:

    using Plots
    anim = @animate for i=0:10
        contour(x, y, (x, y) -> ((x - i)^2 + y^2), levels=0:100:1500,
		        contour_labels=true, colorbar_entry=true, line_z=0:100:1000)
    end
    gif(anim, "/tmp/anim1.gif", fps = 3)

By looking at the attributes, I thought that setting the line_z parameters was the way to go, but it had no effect. How could I fix the colobar in this animation?

Use clims

That works, thank you.

Example:

using Plots
x = y = -25:1:25;
begin
    anim = @animate for i=0:10
		contourf(x, y, (x, y) -> ((x - i)^2 + y^2), c=:plasma, levels=9, clims=(0,1000))
	end
    gif(anim, "/tmp/anim1.gif", fps = 2)
end