Skip to content

Commit de05925

Browse files
nicolaskruchtenjonmmease
authored andcommitted
Px should not hardcode default height (#1990)
* Px should not hardcode default height * Changelog
1 parent a17e6a3 commit de05925

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1010
for more information
1111
- The tutorials of the [plotly.py documentation](https://plot.ly/python/) are
1212
now in the main [plotly.py Github repository](https://github.com/plotly/plotly.py). Contributions in order to improve or extend the documentation are very welcome!
13-
13+
- `plotly.express` generated plots no longer have a default height of 600 pixels, instead they inherit the default height of regular figures [#1990](https://github.com/plotly/plotly.py/pull/1990). Note that the `height` argument to each `plotly.express` function can be set to 600 to restore the legacy behavior.
14+
1415
### Fixed
1516

1617
- Fixed a plotly.express input bug when using data frame indices[#1934](https://github.com/plotly/plotly.py/pull/1934)

Diff for: packages/python/plotly/plotly/express/_core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class PxDefaults(object):
1919
def __init__(self):
2020
self.template = None
2121
self.width = None
22-
self.height = 600
22+
self.height = None
2323
self.color_discrete_sequence = None
2424
self.color_continuous_scale = None
2525
self.symbol_sequence = None

0 commit comments

Comments
 (0)