Skip to content

Commit

Permalink
Revert "Add "How to get a transparent background" page (#3236)"
Browse files Browse the repository at this point in the history
This reverts commit ed836a0.
  • Loading branch information
SimonDanisch committed Oct 12, 2023
1 parent 3cd2906 commit c50e2dc
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 87 deletions.
1 change: 0 additions & 1 deletion docs/_layout/masthead.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
</li>
<li class="masthead__menu-item"><a href="/reference/">Reference</a></li>
<li class="masthead__menu-item"><a href="/tutorials/">Tutorials</a></li>
<li class="masthead__menu-item"><a href="/how-to/">How-Tos</a></li>
<li class="masthead__menu-item"><a href="/explanations/">Explanations</a></li>
<li class="masthead__menu-item"><a href="/api/">API</a></li>
<li class="masthead__menu-item"><a href="/news/">News</a></li>
Expand Down
2 changes: 1 addition & 1 deletion docs/explanations.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@def order = 4
@def order = 3

# Explanations

Expand Down
5 changes: 0 additions & 5 deletions docs/how-to.md

This file was deleted.

79 changes: 0 additions & 79 deletions docs/how-to/save-figure-with-transparency.md

This file was deleted.

2 changes: 1 addition & 1 deletion src/figures.jl
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function Figure(; kwargs...)

kwargs_dict = Dict(kwargs)
padding = pop!(kwargs_dict, :figure_padding, theme(:figure_padding))
scene = Scene(; camera=campixel!, clear = true, kwargs_dict...)
scene = Scene(; camera=campixel!, kwargs_dict...)
padding = convert(Observable{Any}, padding)
alignmode = lift(Outside to_rectsides, padding)

Expand Down

0 comments on commit c50e2dc

Please sign in to comment.