class
UnicodePlot::BoxplotGraphics
- UnicodePlot::BoxplotGraphics
- UnicodePlot::GraphicsArea
- Reference
- Object
Overview
Five-number summary per box, matching Julia UnicodePlots BoxplotGraphics.
Defined in:
unicode_plot/graphics/boxplot_graphics.crConstructors
Instance Method Summary
- #add_box!(data : Array(Float64), color : UInt32) : self
- #blank : Char
- #boxes : Array(BoxData)
- #ncols : Int32
- #nrows : Int32
-
#preprocess(io : IO) : GraphicsArea ->
Preprocessing hook (returns cleanup proc).
-
#print_row(io : IO, row : Int32, use_color : Bool) : Nil
Rendering matches Julia UnicodePlots print_row for BoxplotGraphics.
- #visible? : Bool
- #xmax : Float64
- #xmax=(xmax : Float64)
- #xmin : Float64
- #xmin=(xmin : Float64)
Instance methods inherited from class UnicodePlot::GraphicsArea
blank : Char
blank,
ncols : Int32
ncols,
nrows : Int32
nrows,
preprocess(io : IO) : GraphicsArea ->
preprocess,
print_row(io : IO, row : Int32, use_color : Bool) : Nil
print_row,
to_s(io : IO) : Nil
to_s,
visible? : Bool
visible?
Constructor Detail
Instance Method Detail
def preprocess(io : IO) : GraphicsArea ->
#
Description copied from class UnicodePlot::GraphicsArea
Preprocessing hook (returns cleanup proc). Override in subclasses that need it.
def print_row(io : IO, row : Int32, use_color : Bool) : Nil
#
Rendering matches Julia UnicodePlots print_row for BoxplotGraphics. Each box occupies 3 rows (top, mid, bot). Characters per sub-row: top: ╷ ┌─┬─┐ ╷ mid: ├──┤ │ ├──┤ bot: ╵ └─┴─┘ ╵