|
2 | 2 | All notable changes to this project will be documented in this file.
|
3 | 3 | This project adheres to [Semantic Versioning](http://semver.org/).
|
4 | 4 |
|
| 5 | +## [3.4.0] - 2018-11-02 |
| 6 | + |
| 7 | +### Updated |
| 8 | + - Updated Plotly.js to version 1.42.2. Select highlights included below, see |
| 9 | + the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1422----2018-11-01) |
| 10 | + for more information. |
| 11 | + |
| 12 | +### Added |
| 13 | + - Default figure properties may now be customized using figure |
| 14 | + templates (themes) and 7 new predefined templates are bundled with |
| 15 | + plotly.py |
| 16 | + ([#1224](https://github.com/plotly/plotly.py/pull/1224)) |
| 17 | + - Added Parallel Categories (`parcats`) trace type for the visualization |
| 18 | + of multi-dimensional categorical datasets |
| 19 | + ([plotly/plotly.js#2963](https://github.com/plotly/plotly.js/pull/2963)) |
| 20 | + - Added LaTeX typesetting support for figures displayed in the Jupyter |
| 21 | + Notebook using `plotly.offline.iplot` and `plotly.graph_objs.FigureWidget`. |
| 22 | + **Note:** There are still outstanding issues with MathJax rendering in FireFox, |
| 23 | + but it is now working well in Chrome. |
| 24 | + ([#1243](https://github.com/plotly/plotly.py/pull/1243)) |
| 25 | + - Added `include_mathjax` argument to `plotly.offline.plot` to support |
| 26 | + the creation of HTML files with LaTeX typesetting |
| 27 | + ([#1243](https://github.com/plotly/plotly.py/pull/1243)) |
| 28 | + - Added new `plotly.offline.get_plotlyjs` function that returns the |
| 29 | + contents of the bundled plotly.js library as a string |
| 30 | + ([#637](https://github.com/plotly/plotly.py/issues/637), |
| 31 | + [#1246](https://github.com/plotly/plotly.py/pull/1246)) |
| 32 | + - Added new `plotly.offline.get_plotlyjs_version` function that returns |
| 33 | + the version of the bundled plotly.js library |
| 34 | + ([#1246](https://github.com/plotly/plotly.py/pull/1246)) |
| 35 | + - HTML div strings returned by `plotly.offline.plot` now contain logic |
| 36 | + to automatically resize the figure responsively. This logic was previously |
| 37 | + only added for html files. |
| 38 | + ([#1043](https://github.com/plotly/plotly.py/issues/1043), |
| 39 | + [#1234](https://github.com/plotly/plotly.py/pull/1234)) |
| 40 | + - Figures displayed using `plotly.offline.iplot` in the classic Jupyter |
| 41 | + Notebook will now resize responsively |
| 42 | + ([#1234](https://github.com/plotly/plotly.py/pull/1234)) |
| 43 | + - Added `'cdn'`, `'directory'`, and path string `include_plotlyjs` options |
| 44 | + in `plotly.offline.plot` |
| 45 | + ([#1234](https://github.com/plotly/plotly.py/pull/1234)) |
| 46 | + - When `'cdn'`, the resulting html file/div includes a script tag reference |
| 47 | + to the plotlyjs cdn. |
| 48 | + - When `'directory'`, the resulting html file/div includes a script tag |
| 49 | + reference to a plotly.min.js bundle in the same directory as the html file. |
| 50 | + If `output_type` is `'file'` then this plotly.min.js bundle is created in |
| 51 | + the output directory if it doesn't already exist. |
| 52 | + - When a string ending with `'.js'`, the resulting html file/div includes |
| 53 | + a script tag that references this exact path. This can be used to point |
| 54 | + to a plotly.js bundle from an alternative CDN. |
| 55 | + - Added a new `color_threshold` argument to the `create_dendrogram` figure |
| 56 | + factory to control the dendrogram clustering cutoff |
| 57 | + ([#995](https://github.com/plotly/plotly.py/issues/995), |
| 58 | + [#1075](https://github.com/plotly/plotly.py/pull/1075), |
| 59 | + [#1214](https://github.com/plotly/plotly.py/pull/1214)) |
| 60 | + - Added support for `autorange='reversed'` in 3D axes |
| 61 | + ([#803](https://github.com/plotly/plotly.py/issues/803), |
| 62 | + [plotly/plotly.js#3141](https://github.com/plotly/plotly.js/pull/3141)) |
| 63 | + - Added new gl3d tick and title auto-rotation algorithm that limits text |
| 64 | + overlaps |
| 65 | + ([plotly/plotly.js#3084](https://github.com/plotly/plotly.js/pull/3084), |
| 66 | + [plotly/plotly.js#3131](https://github.com/plotly/plotly.js/pull/3131)) |
| 67 | + - Added `modebar` layout style attributes: |
| 68 | + `orientation`, `bgcolor`, `color` and `activecolor` |
| 69 | + ([plotly/plotly.js#3068](https://github.com/plotly/plotly.js/pull/3068), |
| 70 | + [plotly/plotly.js#3091](https://github.com/plotly/plotly.js/pull/3091)) |
| 71 | + - Added `title`, `titleposition` and `titlefont` attributes to pie traces |
| 72 | + ([plotly/plotly.js#2987](https://github.com/plotly/plotly.js/pull/2987)) |
| 73 | + - Added `hoverlabel.split` attribute to `ohlc` and `candlestick` traces to |
| 74 | + split hover labels into multiple pieces |
| 75 | + ([plotly/plotly.js#2959](https://github.com/plotly/plotly.js/pull/2959)) |
| 76 | + - Added support for `line.shape` values `'hv'`, `'vh'`, `'hvh'` |
| 77 | + and `'vhv'` in `scattergl` traces |
| 78 | + ([plotly/plotly.js#3087](https://github.com/plotly/plotly.js/pull/3087)) |
| 79 | + - Added trace, node and link `hoverinfo` for `sankey` traces |
| 80 | + ([#3096](https://github.com/plotly/plotly.js/pull/3096), |
| 81 | + [#3150](https://github.com/plotly/plotly.js/pull/3150)) |
| 82 | + - Added per-sector `textfont` settings in pie traces |
| 83 | + ([#3130](https://github.com/plotly/plotly.js/pull/3130)) |
| 84 | + |
| 85 | + |
| 86 | +### Changed |
| 87 | + - Use new Plotly logo in "Produced with Plotly" modebar button |
| 88 | + ([plotly/plotly.js#3068](https://github.com/plotly/plotly.js/pull/3068)) |
| 89 | + |
| 90 | + |
| 91 | +### Fixed |
| 92 | + - Plotly's use of MathJax for LaTeX typesetting no longer interferes with |
| 93 | + the Jupyter Notebook's use of MathJax |
| 94 | + ([#445](https://github.com/plotly/plotly.py/issues/445), |
| 95 | + [#360](https://github.com/plotly/plotly.py/issues/360)) |
| 96 | + - Fixed several issues with the use of `reversescale=True` in the |
| 97 | + `create_annotated_heatmap` figure factory |
| 98 | + ([#1251](https://github.com/plotly/plotly.py/pull/1251)) |
| 99 | + - Fixed case where `plotly.offline.iplot` would fail to render in the classic |
| 100 | + Jupyter Notebook if the notebook contained a Markdown headline with the text |
| 101 | + "Plotly" |
| 102 | + ([#816](https://github.com/plotly/plotly.py/issues/816)) |
| 103 | + - `None` values in a `scatter.hovertext` list are now omitted from the |
| 104 | + hover label rather than being displayed as the string `"None"` |
| 105 | + ([#1244](https://github.com/plotly/plotly.py/issues/1244)) |
| 106 | + - Subplot titles created by `plotly.tools.make_subplots` are now positioned |
| 107 | + properly when custom `row_width`/`column_width` arguments are specified |
| 108 | + ([#1229](https://github.com/plotly/plotly.py/issues/1229)) |
| 109 | + - The `bar.width` property may now be specified as a numpy array or a pandas |
| 110 | + series |
| 111 | + ([#1231](https://github.com/plotly/plotly.py/issues/1231), |
| 112 | + [plotly/plotly.js#3169](https://github.com/plotly/plotly.js/pull/3169)) |
| 113 | + - Error bars are now scaled correctly for logarithmic `scatter3d` traces |
| 114 | + ([#1139](https://github.com/plotly/plotly.py/issues/1139)) |
| 115 | + - Use `uuid.uuid4` rather than `uuid.uuid1` to work around an upstream |
| 116 | + Python bug |
| 117 | + ([#1235](https://github.com/plotly/plotly.py/issues/1235), |
| 118 | + [#1236](https://github.com/plotly/plotly.py/pull/1236)) |
| 119 | + - The `layout.grid.subplots` property may now be specified as a 2D list of |
| 120 | + subplot identifiers |
| 121 | + ([#1220](https://github.com/plotly/plotly.py/issues/1220), |
| 122 | + [#1240](https://github.com/plotly/plotly.py/pull/1240)) |
| 123 | + - Fixed `scatter3d` text alignment |
| 124 | + ([#1055](https://github.com/plotly/plotly.py/issues/1055), |
| 125 | + [plotly/plotly.js#3180](https://github.com/plotly/plotly.js/pull/3180)) |
| 126 | + |
| 127 | + |
| 128 | +### JupyterLab Versions |
| 129 | +For use with JupyterLab, the following versions of the following packages |
| 130 | +must be installed: |
| 131 | + |
| 132 | + - Python Packages |
| 133 | + - plotly==3.4.0 |
| 134 | + - ipywidgets>=7.2 |
| 135 | + - notebook>=5.3 |
| 136 | + - jupyterlab==0.35 |
| 137 | + |
| 138 | + - JupyterLab Extensions |
| 139 | + |
| 140 | + - @jupyter-widgets/jupyterlab-manager@0.38 |
| 141 | + - @jupyterlab/plotly-extension@0.18 |
| 142 | + |
5 | 143 | ## [3.3.0] - 2018-09-28
|
6 | 144 |
|
7 | 145 | ### Updated
|
|
0 commit comments