Sign in

    Lampese/mathplotlib/config does not have a README file

    MinorTickDivisions

    pub(all) enum MinorTickDivisions {
    Text(String)
    Number(Double)
    Integer(
    BigInt
    )
    } derive(Eq,
    Debug
    )

    Raw AutoMinor subdivisions and validated integer rc values are distinct.

    MinorTickDivisions::equal

    MinorTickDivisions::not_equal

    NumericLocale

    pub struct NumericLocale {
    // private fields
    }

    Numeric locale conventions for formatter strings, independent of rc defaults.

    NumericLocale::decimal_point

    fn NumericLocale::decimal_point(self : NumericLocale) -> String

    NumericLocale::grouping

    fn NumericLocale::grouping(self : NumericLocale) -> Array[Int]

    NumericLocale::new

    fn NumericLocale::new(decimal_point? : String, thousands_sep? : String, grouping? : Array[Int]) -> NumericLocale

    Retain the grouping array; zero repeats a group and 127 ends grouping.

    NumericLocale::thousands_sep

    fn NumericLocale::thousands_sep(self : NumericLocale) -> String

    RcParams

    pub struct RcParams {
    date_epoch : String
    color_cycle : Array[String]
    x_margin : Double
    y_margin : Double
    grid_visible : Bool
    grid_color : String
    grid_linewidth : Double
    // private fields
    }

    Mutable defaults shared by newly created figures and axes.

    RcParams::axes_autolimit_mode

    fn RcParams::axes_autolimit_mode(self : RcParams) -> String

    RcParams::classic_mode

    fn RcParams::classic_mode(self : RcParams) -> Bool

    RcParams::color_cycle

    fn RcParams::color_cycle(self : RcParams) -> Array[String]

    Return a copy of the configured color cycle.

    RcParams::date_autoformats

    fn RcParams::date_autoformats(self : RcParams) -> Array[String]

    RcParams::date_autoformatter

    fn RcParams::date_autoformatter(self : RcParams, unit : String) -> String raise
    DataError

    RcParams::date_converter

    fn RcParams::date_converter(self : RcParams) -> String

    RcParams::date_epoch

    fn RcParams::date_epoch(self : RcParams) -> String

    RcParams::date_interval_multiples

    fn RcParams::date_interval_multiples(self : RcParams) -> Bool

    RcParams::formatter_limits

    RcParams::formatter_min_exponent

    fn RcParams::formatter_min_exponent(self : RcParams) ->
    BigInt

    RcParams::formatter_offset_threshold

    fn RcParams::formatter_offset_threshold(self : RcParams) ->
    BigInt

    RcParams::formatter_use_locale

    fn RcParams::formatter_use_locale(self : RcParams) -> Bool

    RcParams::formatter_use_math_text

    fn RcParams::formatter_use_math_text(self : RcParams) -> Bool

    RcParams::formatter_use_offset

    fn RcParams::formatter_use_offset(self : RcParams) -> Bool

    RcParams::grid_color

    fn RcParams::grid_color(self : RcParams) -> String

    RcParams::grid_linewidth

    fn RcParams::grid_linewidth(self : RcParams) -> Double

    RcParams::grid_visible

    fn RcParams::grid_visible(self : RcParams) -> Bool

    RcParams::lines_dashdot_pattern

    fn RcParams::lines_dashdot_pattern(self : RcParams) -> Array[Double]

    RcParams::lines_dashed_pattern

    fn RcParams::lines_dashed_pattern(self : RcParams) -> Array[Double]

    RcParams::lines_dotted_pattern

    fn RcParams::lines_dotted_pattern(self : RcParams) -> Array[Double]

    RcParams::lines_scale_dashes

    fn RcParams::lines_scale_dashes(self : RcParams) -> Bool

    RcParams::minor_tick_divisions

    fn RcParams::minor_tick_divisions(self : RcParams, horizontal? : Bool) -> MinorTickDivisions

    RcParams::minor_ticks_visible

    fn RcParams::minor_ticks_visible(self : RcParams, horizontal? : Bool) -> Bool

    RcParams::text_usetex

    fn RcParams::text_usetex(self : RcParams) -> Bool

    RcParams::timezone

    fn RcParams::timezone(self : RcParams) -> String

    RcParams::unicode_minus

    fn RcParams::unicode_minus(self : RcParams) -> Bool

    RcParams::x_margin

    fn RcParams::x_margin(self : RcParams) -> Double

    RcParams::y_margin

    fn RcParams::y_margin(self : RcParams) -> Double

    axes_autolimit_mode

    fn axes_autolimit_mode() -> String

    Default behavior of MultipleLocator.view_limits: data or round_numbers.

    classic_mode

    fn classic_mode() -> Bool

    Construction-time classic style flag used by AutoLocator.

    color_cycle

    fn color_cycle() -> Array[String]

    Return the configured default color cycle.

    date_autoformats

    fn date_autoformats() -> Array[String]

    Return copied defaults in year/month/day/hour/minute/second/microsecond order.

    date_autoformatter

    fn date_autoformatter(unit : String) -> String raise
    DataError

    Read a date.autoformatter default by its unit name, such as "minute".

    date_converter

    fn date_converter() -> String

    Select the default date formatter for subsequently enabled date axes.

    date_epoch

    fn date_epoch() -> String

    Return the fallback origin used when the date package first selects an epoch.

    date_interval_multiples

    fn date_interval_multiples() -> Bool

    Return the default calendar alignment used by newly enabled date axes.

    formatter_limits

    Borrow the current rc list, also retained by existing ScalarFormatter objects.

    formatter_min_exponent

    fn formatter_min_exponent() ->
    BigInt

    Live exponent threshold used by logarithmic mathematical text formatters.

    formatter_offset_threshold

    fn formatter_offset_threshold() ->
    BigInt

    formatter_use_locale

    fn formatter_use_locale() -> Bool

    formatter_use_math_text

    fn formatter_use_math_text() -> Bool

    formatter_use_offset

    fn formatter_use_offset() -> Bool

    grid_color

    fn grid_color() -> String

    Return the default major grid color.

    grid_linewidth

    fn grid_linewidth() -> Double

    Return the default major grid linewidth.

    grid_visible

    fn grid_visible() -> Bool

    Return whether newly created axes show major grid lines.

    lines_dashdot_pattern

    fn lines_dashdot_pattern() -> Array[Double]

    Return a copy of the template captured by the next dash-dot linestyle setter.

    lines_dashed_pattern

    fn lines_dashed_pattern() -> Array[Double]

    Return a copy of the template captured by the next dashed linestyle setter.

    lines_dotted_pattern

    fn lines_dotted_pattern() -> Array[Double]

    Return a copy of the template captured by the next dotted linestyle setter.

    lines_scale_dashes

    fn lines_scale_dashes() -> Bool

    Whether Line setters scale captured dash lengths by their current width.

    minor_tick_divisions

    fn minor_tick_divisions(horizontal? : Bool) -> MinorTickDivisions

    Return the current x or y minor subdivision rc value.

    minor_ticks_visible

    fn minor_ticks_visible(horizontal? : Bool) -> Bool

    Whether a newly installed linear scale selects AutoMinorLocator.

    numeric_locale

    fn numeric_locale() -> NumericLocale

    rc_params

    fn rc_params() -> RcParams

    Return a copy of the current defaults.

    reset

    fn reset() -> Unit

    Restore the default tab10 cycle and 5% automatic margins.

    set_axes_autolimit_mode

    fn set_axes_autolimit_mode(value : String) -> Unit raise
    DataError

    set_classic_mode

    fn set_classic_mode(value : Bool) -> Unit

    set_color_cycle

    fn set_color_cycle(colors : Array[String]) -> Unit raise
    DataError

    Replace the configured default color cycle.

    set_date_autoformatter

    fn set_date_autoformatter(unit : String, format : String) -> Unit raise
    DataError

    Configure newly constructed automatic date formatters. Existing objects retain the defaults captured when they were constructed.

    set_date_converter

    fn set_date_converter(value : String) -> Unit raise
    DataError

    Accept the upstream "auto" and "concise" converter names.

    set_date_epoch

    fn set_date_epoch(value : String) -> Unit raise
    DataError

    Configure a validated UTC ISO fallback. An already selected date epoch is unaffected, including when other configuration defaults are reset.

    set_date_interval_multiples

    fn set_date_interval_multiples(value : Bool) -> Unit

    set_formatter_limits

    Validate before replacing the rc list with a fresh integer list.

    set_formatter_min_exponent

    fn set_formatter_min_exponent(value :
    BigInt
    ) -> Unit

    set_formatter_offset_threshold

    fn set_formatter_offset_threshold(value :
    BigInt
    ) -> Unit

    set_formatter_use_locale

    fn set_formatter_use_locale(value : Bool) -> Unit

    set_formatter_use_math_text

    fn set_formatter_use_math_text(value : Bool) -> Unit

    set_formatter_use_offset

    fn set_formatter_use_offset(value : Bool) -> Unit

    set_grid

    fn set_grid(visible : Bool, color : String, linewidth : Double) -> Unit raise
    DataError

    Replace the defaults used by newly created axes for major grid lines.

    set_lines_dashdot_pattern

    fn set_lines_dashdot_pattern(value : Array[Double]) -> Unit

    set_lines_dashed_pattern

    fn set_lines_dashed_pattern(value : Array[Double]) -> Unit

    Copy the template without imposing the later graphics-context validation.

    set_lines_dotted_pattern

    fn set_lines_dotted_pattern(value : Array[Double]) -> Unit

    set_lines_scale_dashes

    fn set_lines_scale_dashes(value : Bool) -> Unit

    This takes effect on the next linestyle or linewidth setter, including equal width.

    set_minor_tick_divisions

    fn set_minor_tick_divisions(value : MinorTickDivisions, horizontal? : Bool) -> Unit raise
    DataError

    Validate the new value before replacing its axis-specific rc setting.

    set_minor_ticks_visible

    fn set_minor_ticks_visible(value : Bool, horizontal? : Bool) -> Unit

    Configure the x or y minor-visibility default for future scale installations.

    set_numeric_locale

    fn set_numeric_locale(value : NumericLocale) -> Unit

    set_text_usetex

    fn set_text_usetex(value : Bool) -> Unit

    set_timezone

    fn set_timezone(value : String) -> Unit

    Store a timezone name, as rcParams["timezone"] does. Name resolution and errors happen when a date consumer uses it, not when this string is stored.

    set_unicode_minus

    fn set_unicode_minus(value : Bool) -> Unit

    set_x_margin

    fn set_x_margin(value : Double) -> Unit raise
    DataError

    Replace the configured default x-axis margin.

    set_y_margin

    fn set_y_margin(value : Double) -> Unit raise
    DataError

    Replace the configured default y-axis margin.

    text_usetex

    fn text_usetex() -> Bool

    Dynamic text.usetex setting used by formatter symbol escaping.

    timezone

    fn timezone() -> String

    Default date display timezone. Numeric date instants and parsing are independent.

    unicode_minus

    fn unicode_minus() -> Bool

    Whether Formatter.fix_minus replaces ASCII hyphens by the Unicode minus.

    x_margin

    fn x_margin() -> Double

    Return the configured default x-axis margin.

    y_margin

    fn y_margin() -> Double

    Return the configured default y-axis margin.