Skip to content

Commit 2b2a556

Browse files
Merge pull request #1 from plotly/master
Synchronizing forked repo
2 parents 4576241 + d0b8f9f commit 2b2a556

File tree

568 files changed

+24872
-14432
lines changed

Some content is hidden

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

568 files changed

+24872
-14432
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ jobs:
409409
cd ../../../doc
410410
fi
411411
echo 'export PATH="/home/circleci/project/doc/node_modules/.bin:$PATH"' >> $BASH_ENV
412-
sudo apt-get install -y poppler-utils libxtst6 xvfb libgtk2.0-0 libgconf-2-4 libnss3 libasound2
412+
sudo apt-get install -y poppler-utils libxtst6 xvfb libgtk2.0-0 libgconf-2-4 libnss3 libasound2 rename
413413
cd ..
414414
415415
- save_cache:

.circleci/create_conda_optional_env.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ if [ ! -d $HOME/miniconda/envs/circle_optional ]; then
1919
requests nbformat six retrying psutil pandas decorator pytest mock nose poppler xarray scikit-image ipython jupyter ipykernel ipywidgets
2020

2121
# Install orca into environment
22-
$HOME/miniconda/bin/conda install --yes -n circle_optional -c plotly plotly-orca
22+
$HOME/miniconda/bin/conda install --yes -n circle_optional -c plotly plotly-orca==1.3.1
2323
fi

.github/pull_request_template.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!--
2+
Please uncomment this block and take a look at this checklist if your PR is making substantial changes to **documentation**/impacts files in the `doc` directory. Check all that apply to your PR, and leave the rest unchecked to discuss with your reviewer! Not all boxes must be checked for every PR :)
3+
4+
If your PR modifies code of the `plotly` package, we have a different checklist
5+
below :-).
6+
7+
### Documentation PR
8+
9+
- [ ] I've [seen the `doc/README.md` file](https://github.com/plotly/plotly.py/blob/master/doc/README.md)
10+
- [ ] This change runs in the current version of Plotly on PyPI and targets the `doc-prod` branch OR it targets the `master` branch
11+
- [ ] If this PR modifies the first example in a page or adds a new one, it is a `px` example if at all possible
12+
- [ ] Every new/modified example has a descriptive title and motivating sentence or paragraph
13+
- [ ] Every new/modified example is independently runnable
14+
- [ ] Every new/modified example is optimized for short line count and focuses on the Plotly/visualization-related aspects of the example rather than the computation required to produce the data being visualized
15+
- [ ] Meaningful/relatable datasets are used for all new examples instead of randomly-generated data where possible
16+
- [ ] The random seed is set if using randomly-generated data in new/modified examples
17+
- [ ] New/modified remote datasets are loaded from https://plotly.github.io/datasets and added to https://github.com/plotly/datasets
18+
- [ ] Large computations are avoided in the new/modified examples in favour of loading remote datasets that represent the output of such computations
19+
- [ ] Imports are `plotly.graph_objects as go` / `plotly.express as px` / `plotly.io as pio`
20+
- [ ] Data frames are always called `df`
21+
- [ ] `fig = <something>` call is high up in each new/modified example (either `px.<something>` or `make_subplots` or `go.Figure`)
22+
- [ ] Liberal use is made of `fig.add_*` and `fig.update_*` rather than `go.Figure(data=..., layout=...)` in every new/modified example
23+
- [ ] Specific adders and updaters like `fig.add_shape` and `fig.update_xaxes` are used instead of big `fig.update_layout` calls in every new/modified example
24+
- [ ] `fig.show()` is at the end of each new/modified example
25+
- [ ] `plotly.plot()` and `plotly.iplot()` are not used in any new/modified example
26+
- [ ] Hex codes for colors are not used in any new/modified example in favour of [these nice ones](https://github.com/plotly/plotly.py/issues/2192)
27+
28+
## Code PR
29+
30+
- [ ] I have read through the [contributing notes](https://github.com/plotly/plotly.py/blob/master/contributing.md) and understand the structure of the package. In particular, if my PR modifies code of `plotly.graph_objects`, my modifications concern the `codegen` files and not generated files.
31+
- [ ] I have added tests (if submitting a new feature or correcting a bug) or
32+
modified existing tests.
33+
- [ ] For a new feature, I have added documentation examples in an existing or
34+
new tutorial notebook (please see the doc checklist as well).
35+
36+
-->

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
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+
## [4.5.4] - 2020-03-11
6+
7+
### Updated
8+
9+
- The documentation of the API https://plot.ly/python-api-reference/ now
10+
documents the full API [#2243](https://github.com/plotly/plotly.py/pull/2243)
11+
- New documentation examples for facets [#2235](https://github.com/plotly/plotly.py/pull/2235), legend [#2227](https://github.com/plotly/plotly.py/pull/2227), subplots [#2226](https://github.com/plotly/plotly.py/pull/2226), axes [#2234](https://github.com/plotly/plotly.py/pull/2234) and histograms [#2242](https://github.com/plotly/plotly.py/pull/2242).
12+
Thanks to [@SylwiaOliwia2](https://github.com/@SylwiaOliwia2) for all these great
13+
examples!
14+
15+
### Fixed
16+
17+
- Jupyterlab extension now compatible with both Jupyterlab 1.2 and 2.0 [#2261](https://github.com/plotly/plotly.py/pull/2261) with thanks to [@consideRatio](https://github.com/consideRatio) for the contribution!
18+
- Fixed a bug when using boolean values for the color argument of px functions [#2127](https://github.com/plotly/plotly.py/pull/2127)
19+
- Corrected import bug which was occuring with old versions of ipywidgets [#2265](https://github.com/plotly/plotly.py/pull/2265)
20+
- Fixed python 3.8 syntax warning [#2262](https://github.com/plotly/plotly.py/pull/2262), with thanks to [@sgn](https://github.com/sgn) for the contribution!
21+
522
## [4.5.3] - 2020-03-05
623

724
### Updated

README.md

+17-9
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
<img src="https://badge.fury.io/py/plotly.svg"/>
99
</td>
1010
</tr>
11+
<tr>
12+
<td>User forum</td>
13+
<td>
14+
<a href="https://community.plot.ly"/>
15+
<img src="https://img.shields.io/badge/help_forum-discourse-blue.svg"/>
16+
</td>
17+
</tr>
18+
1119
<tr>
1220
<td>PyPI Downloads</td>
1321
<td>
@@ -26,7 +34,7 @@
2634

2735
## Quickstart
2836

29-
`pip install plotly==4.5.3`
37+
`pip install plotly==4.5.4`
3038

3139
Inside [Jupyter notebook](https://jupyter.org/install) (installable with `pip install "notebook>=5.3" "ipywidgets>=7.2"`):
3240

@@ -45,7 +53,7 @@ Read about what's new in [plotly.py v4](https://medium.com/plotly/plotly-py-4-0-
4553

4654
## Overview
4755

48-
[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:
56+
[plotly.py](https://plot.ly/python) is an interactive, open-source, and browser-based graphing library for Python :sparkles:
4957

5058
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.
5159

@@ -61,12 +69,12 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is
6169
---
6270

6371
- [Online Documentation](https://plot.ly/python)
64-
- [Contributing](contributing.md)
72+
- [Contributing to plotly](contributing.md)
6573
- [Changelog](CHANGELOG.md)
6674
- [Code of Conduct](CODE_OF_CONDUCT.md)
6775
- [Version 4 Migration Guide](https://plot.ly/python/next/v4-migration/)
6876
- [New! Announcing Dash 1.0](https://medium.com/plotly/welcoming-dash-1-0-0-f3af4b84bae)
69-
- [Community](https://community.plot.ly/c/api/python)
77+
- [Community forum](https://community.plot.ly/c/api/python)
7078

7179
---
7280

@@ -75,13 +83,13 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is
7583
plotly.py may be installed using pip...
7684

7785
```
78-
pip install plotly==4.5.3
86+
pip install plotly==4.5.4
7987
```
8088

8189
or conda.
8290

8391
```
84-
conda install -c plotly plotly=4.5.3
92+
conda install -c plotly plotly=4.5.4
8593
```
8694

8795
### Jupyter Notebook Support
@@ -128,10 +136,10 @@ set NODE_OPTIONS=--max-old-space-size=4096
128136
jupyter labextension install @jupyter-widgets/[email protected] --no-build
129137
130138
# FigureWidget support
131-
jupyter labextension install [email protected].3 --no-build
139+
jupyter labextension install [email protected].4 --no-build
132140
133141
# and jupyterlab renderer support
134-
jupyter labextension install [email protected].3 --no-build
142+
jupyter labextension install [email protected].4 --no-build
135143
136144
# Build extensions (must be done to activate extensions since --no-build is used above)
137145
jupyter lab build
@@ -153,7 +161,7 @@ installation of the plotly [orca](https://github.com/plotly/orca) command line u
153161
These dependencies can both be installed using conda:
154162

155163
```
156-
conda install -c plotly plotly-orca psutil
164+
conda install -c plotly plotly-orca==1.3.1 psutil
157165
```
158166

159167
Or, `psutil` can be installed using pip...

binder/requirements.txt

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
jupytext
2-
plotly==4.5.1
2+
plotly==4.5.4
33
jupyter
44
notebook
5-
pandas==0.23.0
5+
pandas
66
statsmodels==0.10.1
7-
scipy==1.3.1
7+
scipy
88
patsy==0.5.1
9-
numpy==1.16.0
9+
numpy
1010
plotly-geo
1111
psutil
1212
requests
1313
networkx
1414
scikit-image
1515
datashader
1616
pyarrow
17+
cufflinks==0.17.3

0 commit comments

Comments
 (0)