Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2449be3

Browse files
committed
explain the height and width change better
1 parent 00c79a2 commit 2449be3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,21 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1212
### Changed
1313
- If the response from `plot` or `iplot` contains an error message, raise an exception
1414

15+
### Removed
16+
- `height` and `width` are no longer accepted in `iplot`. Just stick them into your figure's layout instead, it'll be more consistent when you view it outside of the IPython notebook environment. So, instead of this:
17+
18+
```
19+
py.iplot([{'x': [1, 2, 3], 'y': [3, 1, 5]}], height=800)
20+
```
21+
22+
do this:
23+
24+
```
25+
py.iplot({
26+
'data': [{'x': [1, 2, 3], 'y': [3, 1, 5]}],
27+
'layout': {'height': 800}
28+
})
29+
```
30+
1531
### Fixed
1632
- The height of the graph in `iplot` respects the figure's height in layout

0 commit comments

Comments
 (0)