Skip to content

Data Manager

vizro.managers._data_manager

The data manager handles access to all DataFrames used in a Vizro app.

DataManager

DataManager()

Object to handle all data for the vizro application.

Examples >>> import plotly.express as px >>> data_manager["iris"] = px.data.iris()

__setitem__

__setitem__(dataset_name, data)

Adds data to the DataManager with key dataset_name.

This is the only user-facing function when configuring a simple dashboard. Others are only used internally in Vizro or advanced users who write their own actions.