# 📣 Announcing Plotly.py 4.4.1

**URL:** <https://community.plotly.com/t/announcing-plotly-py-4-4-1/32514>\
**Category:** 📊 Plotly Python\
**Tags:** announcements\
**Created:** [December 12, 2019, 5:51pm UTC](https://community.plotly.com/t/announcing-plotly-py-4-4-1/32514 "2019-12-12T17:51:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolaskruchten](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/nicolaskruchten/32/7018_2.png) [@nicolaskruchten](https://community.plotly.com/u/nicolaskruchten)\
**Post date:** [December 12, 2019, 5:51pm UTC](https://community.plotly.com/t/announcing-plotly-py-4-4-1/32514/1 "2019-12-12T17:51:56Z")

</div>

> **Update** : [version 4.9 has been released](https://community.plotly.com/t/announcing-plotly-py-4-9-kaleido-for-static-image-export-hexbin-tile-maps-and-timelines/42524) since this was posted.

Hi everyone! This week we released Plotly.py 4.4.1 to PyPI and Conda. This was a Python-only release which doesn’t include a new big version of Plotly.js, and we hope you enjoy the new features and bug-fixes! The [changelog](https://github.com/plotly/plotly.py/blob/master/CHANGELOG.md) remains the complete reference for this release, but read on for the highlights!

Get it now with `pip install plotly==4.4.1` or `conda install -c plotly plotly=4.4.1` 🙂

## 7 New Plotly Express Functions

As part of our long-term project to make Plotly Express a more complete high-level interface for making figures of all kinds, we’re continuing to add top-level `px` functions:

- [`px.pie`](https://plot.ly/python/pie-charts/) by popular demand
- [`px.sunburst`](https://plot.ly/python/sunburst-charts/) and [`px.treemap`](https://plot.ly/python/treemaps/) for hierarchical part-of-whole visualizations
- [`px.funnel`](https://plot.ly/python/funnel-charts/) and [`px.funnel_area`](https://plot.ly/python/funnel-charts/#basic-area-funnel-plot-with-plotlyexpress) for two ways of visualizing process stages
- [`px.choropleth_mapbox`](https://plot.ly/python/mapbox-county-choropleth/) and [`px.density_mapbox`](https://plot.ly/python/mapbox-density-heatmaps/) to match this summer’s new mapping traces

## Some New Plotly Express Arguments

All of [the `px.*_polar` functions now accept a `range_theta` argument](https://plot.ly/python/polar-chart/), for when you want to plot less than a full circle. Also, all of the `px.*_mapbox` functions now accept `center` just like the `px.*_geo` functions, and in addition, [they accept `mapbox_style`](https://plot.ly/python/mapbox-density-heatmaps/#stamen-terrain-base-map-no-token-needed-density-mapbox-with-plotlyexpress) so you can more-easily make tile maps without needing a [Mapbox.com](http://Mapbox.com) token.

## Reversible Colorscales

You can now [add `_r` to the name of any of our built-in continuous colorscales](https://plot.ly/python/colorscales/#reversing-a-predefined-colorscale) to get a reversed version of the colorscale e.g. `Viridis`/`Viridis_r` or `Reds`/`Reds_r` etc.

## Documentation Improvements

Our docstrings are now doc-tested, so you can be sure that code snippets within docstrings will run correctly. In addition, we’ve moved all of the [Plotly Python Graphing Library](https://plot.ly/python) documentation source files into the main Plotly.py repo so as to be able to keep code and docs in closer sync. This should allow us to avoid some regressions and ensure faster turnaround on documentation for new features.

## Plotly Express Default Height Change

We discovered that Dash users were encountering problems using Plotly Express in their apps because `px.defaults.height` was set to `600`, so we decided to change this to `None` by default. This means that `px`-generated figures will generally auto-size themselves to be 450 pixels tall in Notebooks and other contexts by default. You can get the old behaviour back by setting `px.defaults.height=600` once per session, or passing `height=600` as an argument to any `px` function.

## Thanks

Thanks to community contributors [dev-dsp](https://github.com/dev-dsp) and [joelostblom](https://github.com/joelostblom)!

## Previous Announcements

- [Announcing Plotly.py 4.3 (and 4.2 and 4.1)](https://community.plotly.com/t/announcing-plotly-py-4-3-and-4-2-and-4-1/31245)
- [Introducing Plotly.py 4.0](https://community.plotly.com/t/introducing-plotly-py-4-0-0/25639)

---

<div class="post-metadata">

**Author:** ![nicolaskruchten](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/nicolaskruchten/32/7018_2.png) [@nicolaskruchten](https://community.plotly.com/u/nicolaskruchten)\
**Post date:** [December 13, 2019, 5:55pm UTC](https://community.plotly.com/t/announcing-plotly-py-4-4-1/32514/2 "2019-12-13T17:55:29Z")

</div>


