diff --git a/examples/2d_laplace_solver.jl b/examples/2d_laplace_solver.jl index fa22cb4..431d7ab 100644 --- a/examples/2d_laplace_solver.jl +++ b/examples/2d_laplace_solver.jl @@ -52,7 +52,7 @@ for (i, x) in enumerate(x_vals) end println("Here is the heatmap of the 2D function") -show(heatmap(vals; xfact=0.01, yfact=0.01, xoffset=0, yoffset=0, colormap=:inferno)) +display(heatmap(vals; xfact=0.01, yfact=0.01, xoffset=0, yoffset=0, colormap=:inferno)) n_grid = 100 x_vals = grid_points(s, n_grid, 1) @@ -63,4 +63,4 @@ for (i, x) in enumerate(x_vals) end println("Here is a cut of the function at y = $y") -show(lineplot(x_vals, vals)) +display(lineplot(x_vals, vals))