Skip to content

Commit

Permalink
Px should not hardcode default height (#1990)
Browse files Browse the repository at this point in the history
* Px should not hardcode default height
* Changelog
  • Loading branch information
nicolaskruchten authored and jonmmease committed Dec 10, 2019
1 parent a17e6a3 commit de05925
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
for more information
- The tutorials of the [plotly.py documentation](https://plot.ly/python/) are
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!

- `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.

### Fixed

- Fixed a plotly.express input bug when using data frame indices[#1934](https://github.com/plotly/plotly.py/pull/1934)
Expand Down
2 changes: 1 addition & 1 deletion packages/python/plotly/plotly/express/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class PxDefaults(object):
def __init__(self):
self.template = None
self.width = None
self.height = 600
self.height = None
self.color_discrete_sequence = None
self.color_continuous_scale = None
self.symbol_sequence = None
Expand Down

0 comments on commit de05925

Please sign in to comment.