Use output widgets to control which plots and tables are visible in App Mode.
In Edit Mode, outputs like dataframes and figures are rendered automatically. In App Mode, no outputs are shown unless explicitly defined. Output widgets allow you to specify which elements should be visible, providing fine-grained control over the app interface.
Below is a comprehensive list of supported output widget types.
Plot Output
The Plot output widget allows you to display matplotlib Figures, SubFigures, Axes, or Plotly figures in your notebook interface.
label
: string optional label displayed above the plot
source
: Figure | SubFigure | Axes | BaseFigure the plot object to display. Can be:
key
: string optional unique identifier for the widget
Matplotlib Axes Example:
Plotly Figure Example:
Table Output
The Table output widget allows you to display tabular data in an interactive table format.
label
: string optional label displayed above the table
source
: DataFrame the pandas DataFrame to display
key
: string optional unique identifier for the widget
IGV Output
The IGV output widget allows you to visualize and interact with your genomic data.
options
: dict required dictionary of options for configuring the IGV browser. See Browser Creation
for a list of available options. See Tracks for configuration options for each track.
Output widgets are reactive to changes in their source data. When the source plot or data is updated, the widget display will automatically update to reflect the changes.
Example:
Use output widgets to control which plots and tables are visible in App Mode.
In Edit Mode, outputs like dataframes and figures are rendered automatically. In App Mode, no outputs are shown unless explicitly defined. Output widgets allow you to specify which elements should be visible, providing fine-grained control over the app interface.
Below is a comprehensive list of supported output widget types.
Plot Output
The Plot output widget allows you to display matplotlib Figures, SubFigures, Axes, or Plotly figures in your notebook interface.
label
: string optional label displayed above the plot
source
: Figure | SubFigure | Axes | BaseFigure the plot object to display. Can be:
key
: string optional unique identifier for the widget
Matplotlib Axes Example:
Plotly Figure Example:
Table Output
The Table output widget allows you to display tabular data in an interactive table format.
label
: string optional label displayed above the table
source
: DataFrame the pandas DataFrame to display
key
: string optional unique identifier for the widget
IGV Output
The IGV output widget allows you to visualize and interact with your genomic data.
options
: dict required dictionary of options for configuring the IGV browser. See Browser Creation
for a list of available options. See Tracks for configuration options for each track.
Output widgets are reactive to changes in their source data. When the source plot or data is updated, the widget display will automatically update to reflect the changes.
Example: