pub struct BoxPlot { /* private fields */ }
Expand description

A diagram containing a series of BoxElem elements.

Implementations

Create a plot containing multiple boxes. It defaults to vertically oriented elements.

Set the default color. It is set on all elements that do not already have a specific color. This is the color that shows up in the legend. It can be overridden at the element level (see BoxElem). Default is Color32::TRANSPARENT which means a color will be auto-assigned.

Name of this box plot diagram.

This name will show up in the plot legend, if legends are turned on. Multiple series may share the same name, in which case they will also share an entry in the legend.

Set all elements to be in a vertical orientation. Argument axis will be X and values will be on the Y axis.

Set all elements to be in a horizontal orientation. Argument axis will be Y and values will be on the X axis.

Highlight all plot elements.

Add a custom way to format an element. Can be used to display a set number of decimals or custom labels.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more