On this page

BarChart

from noon import BarChart

Source-derived class. Host availability is not inferred from this listing. See reference scope.

Bases: Axes. Declared members follow; inherited and dynamically attached members are not expanded.

Shared-Rust static bar chart with explicit, atomic value changes.

The compatibility wrapper owns argument coercion and wrapper identity. Axes,
rectangle layout, color gradients and updates stay in the typed Rust chart.

BarChart.__init__

BarChart.__init__(self, values, bar_names=None, y_range=None, x_length=None, y_length=None, bar_colors=None, bar_width=0.6, bar_fill_opacity=0.7, bar_stroke_width=3, **kwargs)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
valuespositional or keywordNot annotatedNo default
bar_namespositional or keywordNot annotatedNone
y_rangepositional or keywordNot annotatedNone
x_lengthpositional or keywordNot annotatedNone
y_lengthpositional or keywordNot annotatedNone
bar_colorspositional or keywordNot annotatedNone
bar_widthpositional or keywordNot annotated0.6
bar_fill_opacitypositional or keywordNot annotated0.7
bar_stroke_widthpositional or keywordNot annotated3
kwargs**kwargsNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

BarChart.x_axis

BarChart.x_axis(self)

Decorators: property

ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

BarChart.y_axis

BarChart.y_axis(self)

Decorators: property

ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

BarChart.values

BarChart.values(self)

Decorators: property

ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

BarChart.get_bar_labels

BarChart.get_bar_labels(self, color=None, font_size=24, buff=0.25, label_constructor=None)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
colorpositional or keywordNot annotatedNone
font_sizepositional or keywordNot annotated24
buffpositional or keywordNot annotated0.25
label_constructorpositional or keywordNot annotatedNone

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration

BarChart.change_bar_values

BarChart.change_bar_values(self, values, update_colors=True)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
valuespositional or keywordNot annotatedNo default
update_colorspositional or keywordNot annotatedTrue

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration