Skip to content

Synchronizing forked repo #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 109 commits into from
Mar 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
10a7b8e
xarray and imshow
emmanuelle Feb 3, 2020
42abe3c
fixed pandas 1.0 pb in sunburst/treemap example
emmanuelle Feb 5, 2020
f449c04
add xarray support in imshow
emmanuelle Feb 6, 2020
4954663
aspect ratio: pixels are not square by default for xarrays, plus time…
emmanuelle Feb 10, 2020
b2ee809
imshow tutorial: add xarray example
emmanuelle Feb 10, 2020
7563750
Merge branch 'master' into imshow-xarray
emmanuelle Feb 10, 2020
8282e0a
update tutorials + use long_name
emmanuelle Feb 10, 2020
568d1c1
change for CI
emmanuelle Feb 10, 2020
e9531df
Merge branch 'master' into imshow-xarray
emmanuelle Feb 11, 2020
d63a76a
comment
emmanuelle Feb 13, 2020
c107581
Merge branch 'imshow-xarray' of https://github.com/plotly/plotly.py i…
emmanuelle Feb 13, 2020
70def8e
try to regenerate cache
emmanuelle Feb 13, 2020
eca01a6
Update subplots.md
SylwiaOliwia2 Feb 25, 2020
4c2c57c
Update legend.md
SylwiaOliwia2 Feb 25, 2020
a5291db
Merge pull request #2227 from SylwiaOliwia2/patch-2
nicolaskruchten Feb 26, 2020
57cbe57
Update marker-style.md
nicolaskruchten Feb 26, 2020
f7ac0d0
Merge pull request #2233 from plotly/nicolaskruchten-patch-6
nicolaskruchten Feb 26, 2020
ebf4ba5
Update subplots.md
SylwiaOliwia2 Feb 27, 2020
6b0ca58
Update axes.md
SylwiaOliwia2 Feb 27, 2020
2a5b53e
Update facet-plots.md
SylwiaOliwia2 Feb 27, 2020
bdd337f
Update figurewidget.md
nicolaskruchten Feb 28, 2020
c86e0c9
Update figurewidget-app.md
nicolaskruchten Feb 28, 2020
fcab197
Merge pull request #2226 from SylwiaOliwia2/patch-1
emmanuelle Mar 2, 2020
0d4fcc6
Update doc/python/facet-plots.md
SylwiaOliwia2 Mar 3, 2020
e9b45bd
Update facet-plots.md
SylwiaOliwia2 Mar 3, 2020
d83b1b0
Update histograms.md
SylwiaOliwia2 Mar 3, 2020
5d44a09
Update axes.md
SylwiaOliwia2 Mar 3, 2020
235c809
interact html export docs
nicolaskruchten Mar 3, 2020
5bf1530
Merge pull request #2235 from SylwiaOliwia2/patch-4
emmanuelle Mar 4, 2020
8c8d3f6
Merge pull request #2234 from SylwiaOliwia2/patch-3
emmanuelle Mar 4, 2020
3acbd3c
Update histograms.md
SylwiaOliwia2 Mar 6, 2020
955052c
documentation PR checklist
nicolaskruchten Mar 6, 2020
4ec2cb3
documentation PR checklist
nicolaskruchten Mar 6, 2020
d6d6aa3
Merge pull request #2242 from SylwiaOliwia2/patch-5
emmanuelle Mar 6, 2020
51572d2
Support JupyterLab 2.0.0 - plotlywidget
consideRatio Mar 10, 2020
4e3717e
Merge branch 'master' into imshow-xarray
emmanuelle Mar 10, 2020
ecded6b
Merge branch 'doc-prod' into pandas-1.0
emmanuelle Mar 10, 2020
e2886e8
Merge pull request #2163 from plotly/pandas-1.0
emmanuelle Mar 10, 2020
a63b38d
python: fix python 3.8 Syntax Warning
sgn Mar 10, 2020
e3a3266
tried to fix default renderer for ipython terminal (#2255)
emmanuelle Mar 11, 2020
262932b
Merge pull request #2262 from sgn/python-3.8-warning
nicolaskruchten Mar 11, 2020
15ab76f
Merge pull request #2261 from consideRatio/jlab2-plotlywidget
nicolaskruchten Mar 11, 2020
307fd73
Px bool (#2127)
emmanuelle Mar 11, 2020
ce4fec8
corrected import bug (#2265)
emmanuelle Mar 11, 2020
30cad0c
Apigen recursive (#2243)
emmanuelle Mar 11, 2020
4c3bf0b
changelog updates
emmanuelle Mar 11, 2020
ca40551
Merge pull request #2268 from plotly/changelog-updates2
nicolaskruchten Mar 11, 2020
1c99b99
release 4.5.4
nicolaskruchten Mar 11, 2020
9e3df43
Merge branch 'doc-prod'
nicolaskruchten Mar 11, 2020
8d7fbce
bump versions for docs
nicolaskruchten Mar 11, 2020
46cd47f
fixed search index graph_objs/graph_objects (#2269)
emmanuelle Mar 12, 2020
3824ec2
Update line-and-scatter.md
nicolaskruchten Mar 16, 2020
c56725a
Update ternary-plots.md
nicolaskruchten Mar 16, 2020
6ebff02
Merge pull request #2253 from plotly/doc_checklist
nicolaskruchten Mar 18, 2020
9b04094
unpinned versions of pandas (and scipy and numpy) (#2278)
emmanuelle Mar 18, 2020
1621271
tmp
emmanuelle Mar 19, 2020
ae984b0
added labels to imshow
emmanuelle Mar 19, 2020
503e962
blacken
emmanuelle Mar 19, 2020
11414e0
pinning orca
emmanuelle Mar 19, 2020
1287be3
pinning orca
emmanuelle Mar 19, 2020
8af2b55
Remove unsupported opacity kwarg from pie-like functions
nicolaskruchten Mar 19, 2020
a364a6f
pin orca in docs
nicolaskruchten Mar 19, 2020
228b7e9
Update README.md
nicolaskruchten Mar 19, 2020
e64b05a
label
emmanuelle Mar 19, 2020
604b439
Minor typo (#2288)
dangercrow Mar 19, 2020
33890df
removed colorbar key
emmanuelle Mar 19, 2020
f675095
Merge pull request #2294 from plotly/nicolaskruchten-patch-7
nicolaskruchten Mar 20, 2020
878da7e
Merge pull request #2295 from plotly/pin_orca_docs
nicolaskruchten Mar 20, 2020
0646966
Merge pull request #2293 from plotly/pin-orca
nicolaskruchten Mar 20, 2020
e3ec430
corrected bug
emmanuelle Mar 20, 2020
d70fe14
datashader example
emmanuelle Mar 20, 2020
b051468
Update packages/python/plotly/plotly/express/_imshow.py
emmanuelle Mar 20, 2020
e8302d1
hover
emmanuelle Mar 20, 2020
67dd774
Merge branch 'imshow-xarray' of https://github.com/plotly/plotly.py i…
emmanuelle Mar 20, 2020
79dbd8f
removing odd non-breaking-spaces from headers
nicolaskruchten Mar 20, 2020
b644fb5
removing odd non-breaking-spaces from headers
nicolaskruchten Mar 21, 2020
941779c
generalizing imshow(labels, x, y)
nicolaskruchten Mar 21, 2020
21df030
docs and tests for imshow changes
nicolaskruchten Mar 22, 2020
f8c1465
hide name from within hovertemplate
nicolaskruchten Mar 22, 2020
60e3666
Merge pull request #2166 from plotly/imshow-xarray
nicolaskruchten Mar 23, 2020
980b8d6
what about dash?
nicolaskruchten Mar 25, 2020
7bbd2c4
Merge pull request #2309 from plotly/what_about_dash
nicolaskruchten Mar 25, 2020
18f61ef
change .ly to .com
Mar 25, 2020
d35b61b
try to fix tests by changing plotly urls
emmanuelle Mar 26, 2020
0a2458f
still debugging
emmanuelle Mar 26, 2020
5d01da6
debug
emmanuelle Mar 26, 2020
faebf31
sed transfo
emmanuelle Mar 26, 2020
5d2803f
more changes
emmanuelle Mar 26, 2020
fc44222
Patch 7 (#2297)
SylwiaOliwia2 Mar 26, 2020
302f7d8
up
emmanuelle Mar 26, 2020
def8d81
Update contributing notes (#2290)
emmanuelle Mar 26, 2020
3304cbd
Merge pull request #2315 from plotly/chartstudio-ly-com
nicolaskruchten Mar 26, 2020
abda92c
Merge branch 'doc-prod' into ly-to-com
Mar 26, 2020
25da105
Merge pull request #2312 from plotly/ly-to-com
Mar 26, 2020
44f4d6f
bump orca version to 1.3.1
antoinerg Mar 20, 2020
313ee4d
update baseline for Orca 1.3.1
antoinerg Mar 20, 2020
b48b41a
Closes #2319
nicolaskruchten Mar 27, 2020
93cdc5e
Merge pull request #2304 from plotly/px_hover_name
nicolaskruchten Mar 27, 2020
94a01ea
Merge pull request #2307 from plotly/bump-orca-1.3.0
antoinerg Mar 27, 2020
44f61a8
Port cufflinks
nicolaskruchten Mar 27, 2020
e7b31d5
requirements
nicolaskruchten Mar 27, 2020
1995e2d
fix ci check
nicolaskruchten Mar 27, 2020
031f6cd
Update doc/python/cufflinks.md
nicolaskruchten Mar 27, 2020
67bab59
Update doc/python/cufflinks.md
nicolaskruchten Mar 27, 2020
1947798
Merge pull request #2325 from plotly/cufflinks
nicolaskruchten Mar 27, 2020
bd9d849
Update sankey-diagram.md (#2291)
SylwiaOliwia2 Mar 27, 2020
a4b600d
mapbox name fix
nicolaskruchten Mar 27, 2020
561570f
merging doc-prod to master
nicolaskruchten Mar 30, 2020
d0b8f9f
missing pieces from previous commit
nicolaskruchten Mar 30, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ jobs:
cd ../../../doc
fi
echo 'export PATH="/home/circleci/project/doc/node_modules/.bin:$PATH"' >> $BASH_ENV
sudo apt-get install -y poppler-utils libxtst6 xvfb libgtk2.0-0 libgconf-2-4 libnss3 libasound2
sudo apt-get install -y poppler-utils libxtst6 xvfb libgtk2.0-0 libgconf-2-4 libnss3 libasound2 rename
cd ..

- save_cache:
Expand Down
2 changes: 1 addition & 1 deletion .circleci/create_conda_optional_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ if [ ! -d $HOME/miniconda/envs/circle_optional ]; then
requests nbformat six retrying psutil pandas decorator pytest mock nose poppler xarray scikit-image ipython jupyter ipykernel ipywidgets

# Install orca into environment
$HOME/miniconda/bin/conda install --yes -n circle_optional -c plotly plotly-orca
$HOME/miniconda/bin/conda install --yes -n circle_optional -c plotly plotly-orca==1.3.1
fi
36 changes: 36 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!--
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 :)

If your PR modifies code of the `plotly` package, we have a different checklist
below :-).

### Documentation PR

- [ ] I've [seen the `doc/README.md` file](https://github.com/plotly/plotly.py/blob/master/doc/README.md)
- [ ] This change runs in the current version of Plotly on PyPI and targets the `doc-prod` branch OR it targets the `master` branch
- [ ] If this PR modifies the first example in a page or adds a new one, it is a `px` example if at all possible
- [ ] Every new/modified example has a descriptive title and motivating sentence or paragraph
- [ ] Every new/modified example is independently runnable
- [ ] 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
- [ ] Meaningful/relatable datasets are used for all new examples instead of randomly-generated data where possible
- [ ] The random seed is set if using randomly-generated data in new/modified examples
- [ ] New/modified remote datasets are loaded from https://plotly.github.io/datasets and added to https://github.com/plotly/datasets
- [ ] Large computations are avoided in the new/modified examples in favour of loading remote datasets that represent the output of such computations
- [ ] Imports are `plotly.graph_objects as go` / `plotly.express as px` / `plotly.io as pio`
- [ ] Data frames are always called `df`
- [ ] `fig = <something>` call is high up in each new/modified example (either `px.<something>` or `make_subplots` or `go.Figure`)
- [ ] Liberal use is made of `fig.add_*` and `fig.update_*` rather than `go.Figure(data=..., layout=...)` in every new/modified example
- [ ] 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
- [ ] `fig.show()` is at the end of each new/modified example
- [ ] `plotly.plot()` and `plotly.iplot()` are not used in any new/modified example
- [ ] 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)

## Code PR

- [ ] 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.
- [ ] I have added tests (if submitting a new feature or correcting a bug) or
modified existing tests.
- [ ] For a new feature, I have added documentation examples in an existing or
new tutorial notebook (please see the doc checklist as well).

-->
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [4.5.4] - 2020-03-11

### Updated

- The documentation of the API https://plot.ly/python-api-reference/ now
documents the full API [#2243](https://github.com/plotly/plotly.py/pull/2243)
- 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).
Thanks to [@SylwiaOliwia2](https://github.com/@SylwiaOliwia2) for all these great
examples!

### Fixed

- 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!
- Fixed a bug when using boolean values for the color argument of px functions [#2127](https://github.com/plotly/plotly.py/pull/2127)
- Corrected import bug which was occuring with old versions of ipywidgets [#2265](https://github.com/plotly/plotly.py/pull/2265)
- 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!

## [4.5.3] - 2020-03-05

### Updated
Expand Down
26 changes: 17 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
<img src="https://badge.fury.io/py/plotly.svg"/>
</td>
</tr>
<tr>
<td>User forum</td>
<td>
<a href="https://community.plot.ly"/>
<img src="https://img.shields.io/badge/help_forum-discourse-blue.svg"/>
</td>
</tr>

<tr>
<td>PyPI Downloads</td>
<td>
Expand All @@ -26,7 +34,7 @@

## Quickstart

`pip install plotly==4.5.3`
`pip install plotly==4.5.4`

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

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

## Overview

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

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.

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

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

---

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

```
pip install plotly==4.5.3
pip install plotly==4.5.4
```

or conda.

```
conda install -c plotly plotly=4.5.3
conda install -c plotly plotly=4.5.4
```

### Jupyter Notebook Support
Expand Down Expand Up @@ -128,10 +136,10 @@ set NODE_OPTIONS=--max-old-space-size=4096
jupyter labextension install @jupyter-widgets/[email protected] --no-build

# FigureWidget support
jupyter labextension install [email protected].3 --no-build
jupyter labextension install [email protected].4 --no-build

# and jupyterlab renderer support
jupyter labextension install [email protected].3 --no-build
jupyter labextension install [email protected].4 --no-build

# Build extensions (must be done to activate extensions since --no-build is used above)
jupyter lab build
Expand All @@ -153,7 +161,7 @@ installation of the plotly [orca](https://github.com/plotly/orca) command line u
These dependencies can both be installed using conda:

```
conda install -c plotly plotly-orca psutil
conda install -c plotly plotly-orca==1.3.1 psutil
```

Or, `psutil` can be installed using pip...
Expand Down
9 changes: 5 additions & 4 deletions binder/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
jupytext
plotly==4.5.1
plotly==4.5.4
jupyter
notebook
pandas==0.23.0
pandas
statsmodels==0.10.1
scipy==1.3.1
scipy
patsy==0.5.1
numpy==1.16.0
numpy
plotly-geo
psutil
requests
networkx
scikit-image
datashader
pyarrow
cufflinks==0.17.3
Loading