remove skip from examples

This commit is contained in:
Simon Christ 2020-11-13 11:51:41 +01:00
parent 54a1920b09
commit 081efb9441

View File

@ -1055,10 +1055,10 @@ const _examples = PlotExample[
f(x,a) = 1/x + a*x^2 f(x,a) = 1/x + a*x^2
xs = collect(0.1:0.05:2.0); xs = collect(0.1:0.05:2.0);
as = collect(0.2:0.1:2.0); as = collect(0.2:0.1:2.0);
x_grid = [x for x in xs for y in as]; x_grid = [x for x in xs for y in as];
a_grid = [y for x in xs for y in as]; a_grid = [y for x in xs for y in as];
plot(x_grid, a_grid, f.(x_grid,a_grid), plot(x_grid, a_grid, f.(x_grid,a_grid),
st = :surface, st = :surface,
xlabel = "longer xlabel", xlabel = "longer xlabel",
@ -1074,7 +1074,7 @@ const _examples = PlotExample[
using Plots using Plots
using TestImages using TestImages
img = testimage("lighthouse") img = testimage("lighthouse")
# plot the image reversing the first dimension and setting yflip = false # plot the image reversing the first dimension and setting yflip = false
plot([-π, π], [-1, 1], reverse(img, dims=1), yflip=false, aspect_ratio=:none) plot([-π, π], [-1, 1], reverse(img, dims=1), yflip=false, aspect_ratio=:none)
# plot other data # plot other data
@ -1090,15 +1090,15 @@ const _examples = PlotExample[
ϕs = range(-π, π, length=50) ϕs = range(-π, π, length=50)
θs = range(0, π, length=25) θs = range(0, π, length=25)
θqs = range(1, π-1, length=25) θqs = range(1, π-1, length=25)
x = vec([sin(θ) * cos(ϕ) for (ϕ, θ) in Iterators.product(ϕs, θs)]) x = vec([sin(θ) * cos(ϕ) for (ϕ, θ) in Iterators.product(ϕs, θs)])
y = vec([sin(θ) * sin(ϕ) for (ϕ, θ) in Iterators.product(ϕs, θs)]) y = vec([sin(θ) * sin(ϕ) for (ϕ, θ) in Iterators.product(ϕs, θs)])
z = vec([cos(θ) for (ϕ, θ) in Iterators.product(ϕs, θs)]) z = vec([cos(θ) for (ϕ, θ) in Iterators.product(ϕs, θs)])
u = 0.1 * vec([sin(θ) * cos(ϕ) for (ϕ, θ) in Iterators.product(ϕs, θqs)]) u = 0.1 * vec([sin(θ) * cos(ϕ) for (ϕ, θ) in Iterators.product(ϕs, θqs)])
v = 0.1 * vec([sin(θ) * sin(ϕ) for (ϕ, θ) in Iterators.product(ϕs, θqs)]) v = 0.1 * vec([sin(θ) * sin(ϕ) for (ϕ, θ) in Iterators.product(ϕs, θqs)])
w = 0.1 * vec([cos(θ) for (ϕ, θ) in Iterators.product(ϕs, θqs)]) w = 0.1 * vec([cos(θ) for (ϕ, θ) in Iterators.product(ϕs, θqs)])
quiver(x,y,z, quiver=(u,v,w)) quiver(x,y,z, quiver=(u,v,w))
end] end]
), ),
@ -1120,7 +1120,6 @@ _backend_skips = Dict(
32, # spy 32, # spy
49, # polar heatmap 49, # polar heatmap
51, # image with custom axes 51, # image with custom axes
52, # 3d quiver
], ],
) )