Plotter

Plotter

The Plotter component helps to define the right plot parameters in the style of plotly.express.

There are several different plot types, and some of them are given directly by plotly.express, like:

  • scatter
  • box
  • violin
  • bar
  • scatter_matrix

Others are computed more indirect, like:

  • imshow
  • bar_count
  • histogram_line
  • probability
  • table

Constructor

# new Plotter()

Example
import dash_express_components as dxc
import plotly.express as px

meta = dxc.get_meta(px.data.gapminder())

dxc.Plotter(
???
)

Type Definitions

# propTypes

Properties
Name Type Description
id

The ID used to identify this component in Dash callbacks.

config

The config the user sets in this component.

meta

The metadata this section is based on.

meta_out

The metadata section will create as output.

setProps

Dash-assigned callback that should be called to report property changes to Dash, to make them available for callbacks.