Skip to content

px_accessors module¶

Plotly Express pandas accessors.

Note

Accessors do not utilize caching.


attach_px_methods function¶

attach_px_methods(
    cls
)

Class decorator to attach Plotly Express methods.


PXAccessor class¶

PXAccessor(
    obj,
    **kwargs
)

Accessor for running Plotly Express functions.

Accessible through pd.Series.vbt.px and pd.DataFrame.vbt.px.

Usage

>>> import pandas as pd
>>> import vectorbt as vbt

>>> vbt.settings.set_theme('seaborn')

>>> pd.Series([1, 2, 3]).vbt.px.bar()

Superclasses

Inherited members

Subclasses


area method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

bar method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

bar_polar method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

box method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

choropleth method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

choropleth_map method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

density_contour method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

density_heatmap method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

density_map method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

ecdf method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

funnel method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

funnel_area method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

histogram method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

icicle method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

imshow method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

line method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

line_3d method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

line_geo method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

line_map method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

line_polar method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

line_ternary method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

parallel_categories method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

parallel_coordinates method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

pie method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

scatter method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

scatter_3d method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

scatter_geo method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

scatter_map method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

scatter_matrix method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

scatter_polar method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

scatter_ternary method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

strip method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

sunburst method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

timeline method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

treemap method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

violin method¶

attach_px_methods.<locals>.plot_func(
    *args,
    **kwargs
)

PXDFAccessor class¶

PXDFAccessor(
    obj,
    **kwargs
)

Accessor for running Plotly Express functions. For DataFrames only.

Accessible through pd.DataFrame.vbt.px.

Superclasses

Inherited members


PXSRAccessor class¶

PXSRAccessor(
    obj,
    **kwargs
)

Accessor for running Plotly Express functions. For Series only.

Accessible through pd.Series.vbt.px.

Superclasses

Inherited members