Skip to content

Commit 8943d96

Browse files
bumping version numbers
1 parent 11ca5b5 commit 8943d96

File tree

5 files changed

+36
-18
lines changed

5 files changed

+36
-18
lines changed

README.md

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@
2626

2727
## Quickstart
2828

29-
`pip install plotly==4.4.1`
29+
`pip install plotly==4.5.0`
3030

3131
Inside [Jupyter notebook](https://jupyter.org/install) (installable with `pip install "notebook>=5.3" "ipywidgets>=7.2"`):
32+
3233
```python
3334
import plotly.graph_objects as go
3435
fig = go.Figure()
@@ -43,6 +44,7 @@ See the [Python documentation](https://plot.ly/python/) for more examples.
4344
Read about what's new in [plotly.py v4](https://medium.com/plotly/plotly-py-4-0-is-here-offline-only-express-first-displayable-anywhere-fc444e5659ee)
4445

4546
## Overview
47+
4648
[plotly.py](https://plot.ly/d3-js-for-python-and-pandas-charts/) is an interactive, open-source, and browser-based graphing library for Python :sparkles:
4749

4850
Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is a high-level, declarative charting library. plotly.js ships with over 30 chart types, including scientific charts, 3D graphs, statistical charts, SVG maps, financial charts, and more.
@@ -56,7 +58,7 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is
5658
<img src="https://raw.githubusercontent.com/cldougl/plot_images/add_r_img/plotly_2017.png">
5759
</a></p>
5860

59-
***
61+
---
6062

6163
- [Online Documentation](https://plot.ly/python)
6264
- [Contributing](contributing.md)
@@ -66,21 +68,24 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is
6668
- [New! Announcing Dash 1.0](https://medium.com/plotly/welcoming-dash-1-0-0-f3af4b84bae)
6769
- [Community](https://community.plot.ly/c/api/python)
6870

69-
***
71+
---
7072

7173
## Installation
7274

7375
plotly.py may be installed using pip...
76+
7477
```
75-
pip install plotly==4.4.1
78+
pip install plotly==4.5.0
7679
```
7780

7881
or conda.
82+
7983
```
80-
conda install -c plotly plotly=4.4.1
84+
conda install -c plotly plotly=4.5.0
8185
```
8286

8387
### Jupyter Notebook Support
88+
8489
For use in the Jupyter Notebook, install the `notebook` and `ipywidgets`
8590
packages using pip...
8691

@@ -95,8 +100,9 @@ conda install "notebook>=5.3" "ipywidgets=7.5"
95100
```
96101

97102
### JupyterLab Support (Python 3.5+)
103+
98104
For use in JupyterLab, install the `jupyterlab` and `ipywidgets`
99-
packages using pip...
105+
packages using pip...
100106

101107
```
102108
pip install jupyterlab==1.2 "ipywidgets==7.5"
@@ -110,6 +116,7 @@ conda install "ipywidgets=7.5"
110116
```
111117

112118
Then run the following commands to install the required JupyterLab extensions (note that this will require [`node`](https://nodejs.org/) to be installed):
119+
113120
```
114121
# Avoid "JavaScript heap out of memory" errors during extension installation
115122
# (OS X/Linux)
@@ -121,10 +128,10 @@ set NODE_OPTIONS=--max-old-space-size=4096
121128
jupyter labextension install @jupyter-widgets/jupyterlab-manager@1.1 --no-build
122129
123130
# FigureWidget support
124-
jupyter labextension install plotlywidget@1.4.0 --no-build
131+
jupyter labextension install plotlywidget@1.5.0 --no-build
125132
126133
# and jupyterlab renderer support
127-
jupyter labextension install jupyterlab-plotly@1.4.0 --no-build
134+
jupyter labextension install jupyterlab-plotly@1.5.0 --no-build
128135
129136
# Build extensions (must be done to activate extensions since --no-build is used above)
130137
jupyter lab build
@@ -137,62 +144,73 @@ set NODE_OPTIONS=
137144
```
138145

139146
### Static Image Export
147+
140148
plotly.py supports static image export using the `to_image` and `write_image`
141149
functions in the `plotly.io` package. This functionality requires the
142150
installation of the plotly [orca](https://github.com/plotly/orca) command line utility and the
143151
[`psutil`](https://github.com/giampaolo/psutil) Python package.
144152

145153
These dependencies can both be installed using conda:
154+
146155
```
147156
conda install -c plotly plotly-orca psutil
148157
```
149158

150159
Or, `psutil` can be installed using pip...
160+
151161
```
152162
pip install psutil
153163
```
154164

155165
and orca can be installed according to the instructions in the [orca README](https://github.com/plotly/orca).
156166

157167
#### Troubleshooting
168+
158169
##### Wrong Executable found
170+
159171
If you get an error message stating that the `orca` executable that was found is not valid, this may be because another executable with the same name was found on your system. Please specify the complete path to the Plotly-Orca binary that you downloaded (for instance in the Miniconda folder) with the following command:
160172

161173
`plotly.io.orca.config.executable = '/home/your_name/miniconda3/bin/orca'`
162174

163175
### Extended Geo Support
176+
164177
Some plotly.py features rely on fairly large geographic shape files. The county
165178
choropleth figure factory is one such example. These shape files are distributed as a
166-
separate `plotly-geo` package. This package can be installed using pip...
179+
separate `plotly-geo` package. This package can be installed using pip...
167180

168181
```
169182
pip install plotly-geo==1.0.0
170183
```
171184

172185
or conda
186+
173187
```
174188
conda install -c plotly plotly-geo=1.0.0
175189
```
176190

177191
### Chart Studio support
192+
178193
The `chart-studio` package can be used to upload plotly figures to Plotly's Chart
179-
Studio Cloud or On-Prem service. This package can be installed using pip...
194+
Studio Cloud or On-Prem service. This package can be installed using pip...
180195

181196
```
182197
pip install chart-studio==1.0.0
183198
```
184199

185200
or conda
201+
186202
```
187203
conda install -c plotly chart-studio=1.0.0
188204
```
189205

190206
## Migration
207+
191208
If you're migrating from plotly.py v3 to v4, please check out the [Version 4 migration guide](https://plot.ly/python/next/v4-migration/)
192209

193210
If you're migrating from plotly.py v2 to v3, please check out the [Version 3 migration guide](migration-guide.md)
194211

195212
## Copyright and Licenses
213+
196214
Code and documentation copyright 2019 Plotly, Inc.
197215

198216
Code released under the [MIT license](packages/python/chart-studio/LICENSE.txt).

doc/python/getting-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ Thanks to deep integration with the [orca](https://github.com/plotly/orca) image
4949
plotly.py may be installed using pip...
5050

5151
```
52-
$ pip install plotly==4.4.1
52+
$ pip install plotly==4.5.0
5353
```
5454

5555
or conda.
5656

5757
```
58-
$ conda install -c plotly plotly=4.4.1
58+
$ conda install -c plotly plotly=4.5.0
5959
```
6060

6161
This package contains everything you need to write figures to standalone HTML files.
@@ -144,10 +144,10 @@ set NODE_OPTIONS=--max-old-space-size=4096
144144
jupyter labextension install @jupyter-widgets/jupyterlab-manager@1.1 --no-build
145145
146146
# jupyterlab renderer support
147-
jupyter labextension install jupyterlab-plotly@1.4.0 --no-build
147+
jupyter labextension install jupyterlab-plotly@1.5.0 --no-build
148148
149149
# FigureWidget support
150-
jupyter labextension install plotlywidget@1.4.0 --no-build
150+
jupyter labextension install plotlywidget@1.5.0 --no-build
151151
152152
# Build extensions (must be done to activate extensions since --no-build is used above)
153153
jupyter lab build

packages/javascript/jupyterlab-plotly/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyterlab-plotly",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"description": "The plotly JupyterLab extension",
55
"author": "The plotly.py team",
66
"license": "MIT",

packages/javascript/plotlywidget/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plotlywidget",
3-
"version": "1.4.0+52.g81f392272",
3+
"version": "1.5.0",
44
"description": "The plotly JupyterLab extension",
55
"author": "The plotly.py team",
66
"license": "MIT",

packages/python/plotly/plotlywidget/static/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ module.exports = g;
9494
/* 1 */
9595
/***/ (function(module, exports) {
9696

97-
module.exports = {"name":"plotlywidget","version":"1.4.0+52.g81f392272","description":"The plotly JupyterLab extension","author":"The plotly.py team","license":"MIT","main":"src/index.js","repository":{"type":"git","url":"https://github.com/plotly/plotly.py"},"keywords":["jupyter","widgets","ipython","ipywidgets","plotly"],"files":["src/**/*.js","dist/*.js","style/*.*"],"scripts":{"build":"webpack","clean":"rimraf dist/ && rimraf ../../python/plotly/plotlywidget/static'","test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"webpack":"^3.10.0","rimraf":"^2.6.1","ify-loader":"^1.1.0","typescript":"~3.1.1"},"dependencies":{"plotly.js":"^1.52.1","@jupyter-widgets/base":"^2.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin.js"}}
97+
module.exports = {"name":"plotlywidget","version":"1.5.0","description":"The plotly JupyterLab extension","author":"The plotly.py team","license":"MIT","main":"src/index.js","repository":{"type":"git","url":"https://github.com/plotly/plotly.py"},"keywords":["jupyter","widgets","ipython","ipywidgets","plotly"],"files":["src/**/*.js","dist/*.js","style/*.*"],"scripts":{"build":"webpack","clean":"rimraf dist/ && rimraf ../../python/plotly/plotlywidget/static'","test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{"webpack":"^3.10.0","rimraf":"^2.6.1","ify-loader":"^1.1.0","typescript":"~3.1.1"},"dependencies":{"plotly.js":"^1.52.1","@jupyter-widgets/base":"^2.0.0","lodash":"^4.17.4"},"jupyterlab":{"extension":"src/jupyterlab-plugin.js"}}
9898

9999
/***/ }),
100100
/* 2 */
@@ -1989,7 +1989,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_4__;
19891989
var undefined;
19901990

19911991
/** Used as the semantic version number. */
1992-
var VERSION = '4.17.15';
1992+
var VERSION = '4.17.13';
19931993

19941994
/** Used as the size to enable large array optimizations. */
19951995
var LARGE_ARRAY_SIZE = 200;

0 commit comments

Comments
 (0)