Skip to content
  • Sponsor plotly/plotly.py

  • Notifications You must be signed in to change notification settings
  • Fork 2.7k
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit be25c50

Browse files
authoredNov 2, 2018
Release 3.4.0 (#1254)
* Added changelog and README version updates for 3.4.0 * Update plotly.js to 1.42.2 * Darken default marker outline color in plotly_dark template * Fix ggplot2 colorbar length * Bump plotly.py and plotlywidget versions to 3.4.0 and 0.5.0
1 parent 32b6701 commit be25c50

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+998
-2159
lines changed
 

‎CHANGELOG.md

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,144 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

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+
- plotlywidget@0.5.0
140+
- @jupyter-widgets/jupyterlab-manager@0.38
141+
- @jupyterlab/plotly-extension@0.18
142+
5143
## [3.3.0] - 2018-09-28
6144

7145
### Updated

‎README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is
5454

5555
plotly.py may be installed using pip...
5656
```
57-
pip install plotly==3.3.0
57+
pip install plotly==3.4.0
5858
```
5959

6060
or conda.
6161
```
62-
conda install -c plotly plotly=3.3.0
62+
conda install -c plotly plotly=3.4.0
6363
```
6464

6565
### Jupyter Notebook Support
@@ -102,7 +102,7 @@ set NODE_OPTIONS=--max-old-space-size=4096
102102
jupyter labextension install @jupyter-widgets/jupyterlab-manager@0.38 --no-build
103103
104104
# FigureWidget support
105-
jupyter labextension install plotlywidget@0.4.0 --no-build
105+
jupyter labextension install plotlywidget@0.5.0 --no-build
106106
107107
# offline iplot support
108108
jupyter labextension install @jupyterlab/plotly-extension@0.18 --no-build

0 commit comments

Comments
 (0)