Skip to content

Commit

Permalink
update contour docs
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Sep 5, 2023
1 parent ae544e2 commit 29f21bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/plots/contour.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ x = y = range(-6, 6; length=100)
z = himmelblau.(x, y')

levels = 10.0.^range(0.3, 3.5; length=10)
colormap = Makie.sampler(:hsv, 100; scaling=Makie.Scaling(x -> x^(1 / 10), nothing))
f, ax, ct = contour(x, y, z; labels=true, levels, colormap)
colorscale = ReversibleScale(x -> x^(1 / 10), x -> x^10)
f, ax, ct = contour(x, y, z; labels=true, levels, colormap=:hsv, colorscale)
f
```
\end{examplefigure}

0 comments on commit 29f21bd

Please sign in to comment.