Skip to content

Commit 3b75d48

Browse files
committed
Merged master into Gantt
2 parents e6aa0e4 + 079c924 commit 3b75d48

File tree

13 files changed

+2745
-700
lines changed

13 files changed

+2745
-700
lines changed

CHANGELOG.md

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

55
## [Unreleased]
6+
### Added
7+
- The FigureFactory can now create violin plots with `.create_violin`. Check it out with:
8+
```
9+
import plotly.tools as tls
10+
help(tls.FigureFactory.create_violin)
11+
```
12+
13+
## [1.12.0] - 2016-06-06
14+
### Added
15+
- Added ability to enable/disable SSL certificate verification for streaming. Disabling SSL certification verification requires Python v2.7.9 / v3.4.3 (or above). This feature can be toggled via the `plotly_ssl_verification` configuration setting.
16+
17+
## [1.11.0] - 2016-05-27
18+
### Updated
19+
- Changed the default option for `create_distplot` in the figure factory from `probability` to `probability density` and also added the `histnorm` parameter to allow the user to choose between the two options.
20+
Note: This is a backwards incompatible change.
21+
22+
- Updated plotly.min.js so the offline mode is using plotly.js v1.12.0
23+
- Light position is now configurable in surface traces
24+
- surface and mesh3d lighting attributes are now accompanied with comprehensive descriptions
25+
26+
- Allowed `create_scatterplotmatrix` and `create_trisurf` to use divergent and categorical colormaps. The parameter `palette` has been replaced by `colormap` and `use_palette` has been removed. In `create_scatterplotmatrix`, users can now:
27+
- Input a list of different color types (hex, tuple, rgb) to `colormap` to map colors divergently
28+
- Use the same list to categorically group the items in the index column
29+
- Pass a singlton color type to `colormap` to color all the data with one color
30+
- Input a dictionary to `colormap` to map index values to a specific color
31+
- 'cat' and 'seq' are valid options for `colormap_type`, which specify the type of colormap being used
32+
33+
- In `create_trisurf`, the parameter `dist_func` has been replaced by `color_func`. Users can now:
34+
- Input a list of different color types (hex, tuple, rgb) to `colormap` to map colors divergently
35+
- Input a list|array of hex and rgb colors to `color_func` to assign each simplex to a color
36+
37+
### Added
38+
- Added the option to load plotly.js from a CDN by setting the parameter `connected=True`
39+
in the `init_notebook_mode()` function call
40+
- The FigureFactory can now create trisurf plots with `.create_trisurf`. Check it out with:
41+
```
42+
import plotly.tools as tls
43+
help(tls.FigureFactory.create_trisurf)
44+
```
45+
46+
47+
48+
## [1.10.0] - 2016-05-19
49+
### Fixed
50+
- Version 1.9.13 fixed an issue in offline mode where if you ran `init_notebook_mode`
51+
more than once the function would skip importing (because it saw that it had
52+
already imported the library) but then accidentally clear plotly.js from the DOM.
53+
This meant that if you ran `init_notebook_mode` more than once, your graphs would
54+
not appear when you refreshed the page.
55+
Version 1.9.13 solved this issue by injecting plotly.js with every iplot call.
56+
While this works, it also injects the library excessively, causing notebooks
57+
to have multiple versions of plotly.js inline in the DOM, potentially making
58+
notebooks with many `iplot` calls very large.
59+
Version 1.10.0 brings back the requirement to call `init_notebook_mode` before
60+
making an `iplot` call. It makes `init_notebook_mode` idempotent: you can call
61+
it multiple times without worrying about losing your plots on refresh.
62+
63+
64+
## [1.9.13] - 2016-05-19
65+
### Fixed
66+
- Fixed issue in offline mode related to the inability to reload plotly.js on page refresh and extra init_notebook_mode calls.
67+
68+
## [1.9.12] - 2016-05-16
69+
### Added
70+
- SSL support for streaming.
671

772
## [1.9.11] - 2016-05-02
873
### Added

LICENSE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) <year> <copyright holders>
3+
Copyright (c) 2016 Plotly, Inc
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21-
THE SOFTWARE.
21+
THE SOFTWARE.

contributing.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,23 @@ You're *strongly* encouraged to write tests that check your added functionality.
136136

137137
When you write a new test anywhere under the `tests` directory, if your PR gets accepted, that test will run in a virtual machine to ensure that future changes don't break your contributions!
138138

139+
#### Publishing to Pip
140+
141+
You'll need the credentials file `~/.pypirc`. Request access from @theengineear and @chriddyp. Then, from inside the repository:
142+
143+
```
144+
(plotly.py) $ git checkout master
145+
(plotly.py) $ git stash
146+
(plotly.py) $ git pull origin master
147+
(plotly.py) $ python setup.py sdist upload # upload to pip
148+
```
149+
150+
After it has uploaded, move to another directly and double+triple check that you are able to upgrade ok:
151+
```
152+
$ pip install plotly --upgrade
153+
```
154+
155+
And ask one of your friends to do it too. Our tests should catch any issues, but you never know.
156+
157+
139158
<3 Team Plotly

0 commit comments

Comments
 (0)