Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

docs: mo.ui.plotly supports bar and heatmap (#7769)

Akshay Agrawal992d1100c27b
diff --git a/docs/api/plotting.md b/docs/api/plotting.md
index 9fa377bd13..8c1dbef412 100644
--- a/docs/api/plotting.md
+++ b/docs/api/plotting.md
@@ -92,10 +92,12 @@ alt.data_transformers.enable('marimo_csv')
## Reactive plots with Plotly
-!!! warning "mo.ui.plotly only supports scatter plots, treemaps charts, and sunbursts charts."
+!!! warning "Supported charts"
+
marimo can render any Plotly plot, but [`mo.ui.plotly`][marimo.ui.plotly] only
- supports reactive selections for scatter plots, treemaps charts, and sunbursts charts. If you require other kinds of
- selection, consider using [`mo.ui.altair_chart`][marimo.ui.altair_chart].
+ supports reactive selections for scatter plots, bar charts, heatmaps,
+ treemaps, and sunburst charts. If you require other kinds of selection,
+ please [file an issue](https://github.com/marimo-team/marimo/issues).
::: marimo.ui.plotly
diff --git a/docs/guides/working_with_data/plotting.md b/docs/guides/working_with_data/plotting.md
index 2ff3434b0e..51b6aa6bb1 100644
--- a/docs/guides/working_with_data/plotting.md
+++ b/docs/guides/working_with_data/plotting.md
@@ -214,11 +214,12 @@ conda install -c conda-forge "vegafusion-python-embed>=1.4.0" "vegafusion>=1.4.0
### Plotly
-!!! warning "mo.ui.plotly only supports scatter plots, treemaps charts, and sunbursts charts"
+!!! warning "Supported charts"
marimo can render any Plotly plot, but [`mo.ui.plotly`][marimo.ui.plotly] only
- supports reactive selections for scatter plots, treemaps charts, and sunbursts charts. If you require other kinds of
- selection, consider using [`mo.ui.altair_chart`][marimo.ui.altair_chart].
+ supports reactive selections for scatter plots, bar charts, heatmaps,
+ treemaps, and sunburst charts. If you require other kinds of selection,
+ please [file an issue](https://github.com/marimo-team/marimo/issues).
/// marimo-embed
size: large
@@ -299,4 +300,4 @@ Charts are powered by [Vega-Lite](https://vega.github.io/vega-lite/). To save a
!!! note
- This feature is in active development. Please report any issues or feedback [here](https://github.com/marimo-team/marimo/issues).
\ No newline at end of file
+ This feature is in active development. Please report any issues or feedback [here](https://github.com/marimo-team/marimo/issues).