You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Draw bands across the plot canvas with a horizontal span specified by `xmin` and `xmax` if `orientation` is `:vertical`, or a vertical span specified by `ymin` and `ymax` if the `orientation` is `:horizontal`.
This geometry is equivalent to [`Geom.rect`](@ref) with [`Stat.band`](@ref).
"""
band(; orientation=:vertical) = RectangularBinGeometry(Stat.band(orientation)) #TODO: use RectangularGeometry when it becomes available.
"""
Geom.hband[()]
Draw horizontal bands across the plot canvas with a vertical span specified by `ymin` and `ymax` aesthetics.
This geometry is equivalent to [`Geom.band`](@ref) with `orientation` set to `:vertical`.
"""
hband() = band(orientation = :horizontal)
"""
Geom.vband[()]
Draw vertical bands across the plot canvas with a horizontal span specified by `xmin` and `xmax` aesthetics.
This geometry is equivalent to [`Geom.band`](@ref).