Skip to content

Commit

Permalink
add background color for easier understanding
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrumbiegel committed Aug 9, 2023
1 parent e2580d4 commit 5864033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/makielayout/blocks/axis3d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ function attribute_examples(::Type{Axis3})
Example(
name = "Single protrusion",
code = """
fig = Figure()
fig = Figure(backgroundcolor = :gray97)
Box(fig[1, 1], strokewidth = 0) # visualizes the layout cell
Axis3(fig[1, 1], protrusions = 100, viewmode = :stretch,
title = "protrusions = 100")
Expand All @@ -1151,7 +1151,7 @@ function attribute_examples(::Type{Axis3})
Example(
name = "Removing protrusions",
code = """
fig = Figure()
fig = Figure(backgroundcolor = :gray97)
Box(fig[1, 1], strokewidth = 0) # visualizes the layout cell
ax = Axis3(fig[1, 1], protrusions = (0, 0, 0, 20), viewmode = :stretch,
title = "protrusions = (0, 0, 0, 20)")
Expand Down

0 comments on commit 5864033

Please sign in to comment.