Skip to content

Commit 1a69817

Browse files
committed
docs: add pandas to the README Quickstart Plotly Express install command
The Plotly Express quickstart example (px.bar with list inputs) requires pandas, but the install command only listed plotly[express], which does not pull in pandas. A fresh environment following the quickstart fails with 'NotImplementedError: Pandas installation is required if no dataframe is provided.' Add pandas to the install line so the example runs as written.
1 parent 84498cc commit 1a69817

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
88
- Add support for converting matplotlib reference lines (`axhline`, `axvline`, and horizontal/vertical `axline`) as well as axes-coordinate lines into Plotly layout shapes in `mpl_to_plotly`, including support for date axes [[#5719](https://github.com/plotly/plotly.py/pull/5719)], with thanks to @robertoffmoura for the contribution!
99

1010
### Fixed
11+
- Fix the README Quickstart: the Plotly Express example requires pandas, so its install command now includes it
1112
- Fix `mpl_to_plotly` tick marker mirroring, axis positioning, and trace visibility for twinned and overlaid subplots (such as `twinx` and `twiny`) [[#5310](https://github.com/plotly/plotly.py/pull/5310)], with thanks to @robertoffmoura for the contribution!
1213
- Fix `mpl_to_plotly` losing matplotlib axis line colors by exporting the color of each axis's displayed spine to the plotly x and y axis `linecolor` [[#5311](https://github.com/plotly/plotly.py/pull/5311)], with thanks to @robertoffmoura for the contribution!
1314
- Fix concurrent first access to lazily initialized graph object properties, which could raise `ValueError("Invalid value")` [[#5691](https://github.com/plotly/plotly.py/pull/5691)], with thanks to @hb1915 for the contribution!

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ fig.show()
5555
### Plotly Express
5656

5757
```
58-
pip install plotly[express]
58+
pip install plotly[express] pandas
5959
```
6060

6161
```python

0 commit comments

Comments
 (0)