Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #193 from logankilpatrick/patch-1
Browse files Browse the repository at this point in the history
Update layouting.jl
  • Loading branch information
SimonDanisch authored Aug 26, 2019
2 parents 84f10dd + 8732cb2 commit d04b6f9
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions src/layouting/layouting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,31 @@ ispixelcam(x) = false
"""
vbox(scenes...; parent = Scene(clear = false), kwargs...)
Lay the given Scenes out on the vertical axis. For example, two Scenes `vbox`ed
Box the scenes together on the vertical axis. For example, two Scenes `vbox`ed
will be placed side-by-side.
-------------------- --------------------
-- -- -- --
-- Scene 1 -- -- Scene 2 --
-- -- -- --
-------------------- --------------------
"""
vbox(plots::Transformable...; kw_args...) = vbox([plots...]; kw_args...)
"""
hbox(scenes...; parent = Scene(clear = false), kwargs...)
Lay the given Scenes out on the horizonral axis. For example, two Scenes `vbox`ed
will be placed side-by-side.
Attach the given Scenes together on the horizontal axis. For example, two Scenes `hbox`ed
will be placed one on top of the other.
--------------------
-- --
-- Scene 1 --
-- --
--------------------
--------------------
-- --
-- Scene 2 --
-- --
--------------------
"""
hbox(plots::Transformable...; kw_args...) = hbox([plots...]; kw_args...)

Expand Down

0 comments on commit d04b6f9

Please sign in to comment.