Sign in

    Lampese/mathplotlib/scene/colorbar does not have a README file

    Colorbar

    pub struct Colorbar {
    norm :
    ColorNorm

    cmap :
    ColorMap

    orientation : Orientation
    label : String?
    tick_count : Int
    }

    A scalar color scale attached to a figure.

    Colorbar::cmap

    Return the colormap used by this colorbar.

    Colorbar::label

    fn Colorbar::label(self : Colorbar) -> String?

    Return the optional colorbar label.

    Colorbar::norm

    Return the normalization used by this colorbar.

    Colorbar::orientation

    fn Colorbar::orientation(self : Colorbar) -> Orientation

    Return the colorbar orientation.

    Colorbar::set_label

    fn Colorbar::set_label(self : Colorbar, value : String) -> Unit

    Set the colorbar label.

    Colorbar::set_tick_count

    fn Colorbar::set_tick_count(self : Colorbar, value : Int) -> Unit

    Set the desired number of colorbar ticks.

    Colorbar::tick_count

    fn Colorbar::tick_count(self : Colorbar) -> Int

    Return the desired number of colorbar ticks.

    Orientation

    pub(all) enum Orientation {
    Vertical
    Horizontal
    }

    Orientation of a colorbar in a rendered figure.

    colorbar

    Construct a colorbar with deterministic default ticks.

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io