From 7e085fb8eb514bb4c015243048b54a97c6d28514 Mon Sep 17 00:00:00 2001 From: Priyansh Date: Mon, 5 Oct 2026 17:06:04 +0000 Subject: [PATCH] docs: fix README Quickstart install command to include plotly[express] and pandas The README Quickstart said 'pip install plotly' but the px.bar example requires numpy and pandas which are not installed by default. Update the install line to 'pip install "plotly[express]" pandas' as suggested by the Getting Started page. Fixes #5790 --- CHANGELOG.md | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0583fec45c..3267e0f071 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Fix concurrent first access to lazily initialized graph object properties, which could raise `ValueError("Invalid value")` [[#3441](https://github.com/plotly/plotly.py/issues/3441)], with thanks to @hb1915 for the contribution! - Fix `px.sunburst`, `px.treemap` and `px.icicle` listing sectors in a different order on every run when `path` is used with a Polars DataFrame; sectors now follow their order of first appearance for all dataframe backends [[#5765](https://github.com/plotly/plotly.py/issues/5765)], with thanks to @Irahan2 for the contribution! +- Fix README Quickstart install command to include `plotly[express]` and `pandas` so the `px.bar` example works in a fresh environment [[#5790](https://github.com/plotly/plotly.py/issues/5790)] ## [7.1.0] - 2026-09-15 diff --git a/README.md b/README.md index 4964f7bfcb..9b6da97d5e 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ ## Quickstart -`pip install plotly` +`pip install "plotly[express]" pandas` ```python import plotly.express as px