Skip to content

Commit

Permalink
Merge pull request #2094 from CliMA/tr/update-fieldheatmap-makie-attribs
Browse files Browse the repository at this point in the history
Update Makie shading attrib
  • Loading branch information
charleskawczynski authored Nov 24, 2024
2 parents a932c51 + 8129c1d commit 241b576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ClimaCoreMakie/src/fieldheatmap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Plots a heatmap of a field.
## Attributes
Inherited from [`Makie.mesh`](https://docs.makie.org/stable/examples/plotting_functions/mesh/index.html#mesh).
Inherited from [`Makie.mesh`](https://docs.makie.org/stable/examples/plotting_functions/mesh/index.html#mesh).
- `colormap::Union{Symbol, Vector{<:Colorant}} = :viridis`` sets the colormap that is sampled for numeric colors.
Expand All @@ -20,7 +20,7 @@ Inherited from [`Makie.mesh`](https://docs.makie.org/stable/examples/plotting_fu
"""
@recipe(FieldHeatmap, field) do scene
attrs = Makie.Attributes(; coords = nothing, shading = false)
attrs = Makie.Attributes(; coords = nothing, shading = Makie.NoShading)
return merge(attrs, Makie.default_theme(scene, Makie.Mesh))
end

Expand Down

0 comments on commit 241b576

Please sign in to comment.