Skip to content

Sync Fork from Upstream Repo #3

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 38 commits into from
Oct 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
d2dd540
Fixed the hyperlink for CHANGELOG.md (#1711)
sursu Aug 17, 2019
6eb94f0
Update README.md for possible collision of `orca` executable (#1519)
bharatr21 Aug 17, 2019
01a78d3
Avoid crash in iframe renderers when running outside iPython (#1723)
mpaolini Aug 31, 2019
15b2519
responsive Gantt-chart (#1724)
cs48a Aug 31, 2019
2c3114e
FIX: fix incorrect import in deprecation warning for Scene class (#1670)
stevenjkern Aug 31, 2019
da23e32
Update to plotly.js 1.49.4 (#1747)
jonmmease Sep 2, 2019
bc2b064
Release 4.1.1 (#1750)
jonmmease Sep 3, 2019
8db5ddf
Add `stepss` fix to CHANGELOG
jonmmease Sep 3, 2019
2a3eb97
CHANGELOG typo
jonmmease Sep 3, 2019
5920a6c
jupyterlab-plotly@1.1.2 to fix publication
jonmmease Sep 3, 2019
87c3bc1
Update jupyterlab-plotly to 1.1.2 in README
jonmmease Sep 3, 2019
c2f2f54
Fix typo in plotly.subplots.py which mentioned a non-existing filepath
MarcoGorelli Sep 7, 2019
551a921
Keep in trailing whitespace
MarcoGorelli Sep 7, 2019
7cb8d6b
Merge pull request #1760 from MarcoGorelli/make-subplot-typo
emmanuelle Sep 10, 2019
809c3c5
removed streaming tests
emmanuelle Sep 10, 2019
944af4a
Merge pull request #1765 from plotly/streaming
emmanuelle Sep 10, 2019
074408f
percy tests (#1758)
emmanuelle Sep 11, 2019
7ec7a69
added minimal test for px (#1754)
emmanuelle Sep 12, 2019
b770468
Add custom_data argument to px functions (#1764)
emmanuelle Sep 12, 2019
1695234
Update _doc.py
yoonghm Sep 22, 2019
716f7dd
Update _chart_types.py
yoonghm Sep 22, 2019
4a30dc6
more flexible type of input arguments for px functions (#1768)
emmanuelle Oct 4, 2019
ce2b720
__all__ for figure_factory and io (for sphinx) (#1803)
emmanuelle Oct 7, 2019
23cbf9b
Graph objects structure and __all__ specifications (#1802)
jonmmease Oct 9, 2019
3690e4a
Capitalized letters for consistency
sursu Oct 12, 2019
573f953
Add "overwrite" kwarg to all update* figure methods. (#1726)
jonmmease Oct 14, 2019
240d0b4
Add convenience methods for annotations, shapes, and images (#1817)
jonmmease Oct 15, 2019
e23076f
Template specification fixes (#1819)
jonmmease Oct 15, 2019
738b57f
Merge pull request #1784 from yoonghm/patch-2
nicolaskruchten Oct 15, 2019
88255c1
ignore .vscode
nicolaskruchten Oct 15, 2019
2ea34f7
really removing chunked_requests
nicolaskruchten Oct 15, 2019
9840b7d
Update to to plotly.js 1.50.1 (#1820)
jonmmease Oct 15, 2019
5084b35
Merge pull request #1785 from yoonghm/patch-3
nicolaskruchten Oct 15, 2019
d7021e8
Fix for #1809 Python 2.7 incompatibility in the iframe renderer (#1810)
carthurs Oct 15, 2019
d43331a
Python 2 iframe renderer follow-on to #1809 (#1822)
jonmmease Oct 16, 2019
b7ad543
Release 4.2.0 (#1823)
jonmmease Oct 16, 2019
ff23511
fixed skimage import (#1832)
emmanuelle Oct 18, 2019
6211996
Update CHANGELOG and README for version 4.2.1
jonmmease Oct 18, 2019
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
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,38 @@ jobs:
command: 'cd packages/python/plotly; tox -e py37-core'
no_output_timeout: 20m

python-3.7-percy:
docker:
- image: circleci/python:3.7-stretch-node-browsers
environment:
PERCY_ENABLED: True
PERCY_PROJECT: plotly/plotly.py

steps:
- checkout
- run:
name: Inject Percy Environment variables
command: |
echo 'export PERCY_TOKEN="$PERCY_PYTHON_TOKEN_V0"' >> $BASH_ENV
- run:
name: Install requirements
command: |
sudo pip install --upgrade virtualenv
python -m venv venv || virtualenv venv
. venv/bin/activate
pip install -e ./packages/python/plotly
- run:
name: Build html figures
command: |
. venv/bin/activate
pip install pandas statsmodels --quiet
python test/percy/plotly-express.py
- run:
name: Run percy snapshots
command: |
npx percy snapshot test/percy/
rm test/percy/*.html

# Optional
python-2.7-optional:
docker:
Expand Down Expand Up @@ -367,6 +399,7 @@ workflows:
- python-3.5-core
- python-3.6-core
- python-3.7-core
- python-3.7-percy
- python-2.7-optional
- python-3.5-optional
- python-3.6-optional
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ plotly/tests/test_orca/images/*/failed
plotly/tests/test_orca/images/*/tmp
/plotly-package/plotly/tests/test_core/test_offline/plotly.min.js
temp-plot.html
.vscode
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "submodules/mplexporter"]
path = submodules/mplexporter
url = git://github.com/mpld3/mplexporter.git
[submodule "submodules/chunked_requests"]
path = submodules/chunked_requests
url = git://github.com/chriddyp/chunked_requests.git
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,42 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [4.2.1] - 2019-10-18
### Fixed
- Fixed regression in 4.2.0 that caused all figure factories to require that scikit-image be installed ([#1832](https://github.com/plotly/plotly.py/pull/1832))

## [4.2.0] - 2019-10-16

### Updated
- Updated Plotly.js to version 1.50.1. See the
[plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1501----2019-10-15)
for more information

### Added
- Added `treemap` trace type ([plotly.js#4185](https://github.com/plotly/plotly.js/pull/4185), [plotly.js#4219](https://github.com/plotly/plotly.js/pull/4219), [plotly.js#4227](https://github.com/plotly/plotly.js/pull/4227), [plotly.js#4242](https://github.com/plotly/plotly.js/pull/4242))
- Added `add_*`/`select_*`/`for_each_*`/`update_*` convenience figure methods for annotations, shapes, and images ([#1817](https://github.com/plotly/plotly.py/pull/1817))
- Added `overwrite` kwarg to `update*` figure methods to fully replace property values, rather than update them recursively ([#1726](https://github.com/plotly/plotly.py/pull/1726))
- Added `texttemplate` attribute to all traces that support on-graph text ([plotly.js#4071](https://github.com/plotly/plotly.js/pull/4071), [plotly.js#4179](https://github.com/plotly/plotly.js/pull/4179))
- Added date custom formatting in `hovertemplate` and `texttemplate` e.g. `'%{x|%b %-d, %Y}'` ([plotly.js#4071](https://github.com/plotly/plotly.js/pull/4071))
- Added transition support to `bar` trace length, width, on-graph text positioning, marker style and error bars ([plotly.js#4180](https://github.com/plotly/plotly.js/pull/4180), [plotly.js#4186](https://github.com/plotly/plotly.js/pull/4186))
- Added support for legend scrolling via touch interactions ([plotly.js#3873](https://github.com/plotly/plotly.js/pull/3873), [plotly.js#4214](https://github.com/plotly/plotly.js/pull/4214))

### Fixed
- Fixed `iframe` renderer on Python 2 ([#1822](https://github.com/plotly/plotly.py/pull/1822))
- Fixed use of merged templates in plotly.express ([#1819](https://github.com/plotly/plotly.py/pull/1819))

## [4.1.1] - 2019-09-02

### Updated
- Updated Plotly.js to version 1.49.4. See the
[plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#1494----2019-08-22)
for more information
- The width of a figure produced by the `create_gantt` figure factory now resizes responsively ([#1724](https://github.com/plotly/plotly.py/pull/1724))

### Fixed
- The name of the steps property of `graph_objects.indicator.Guage` has been renamed from `stepss` to `steps`
- Avoid crash in iframe renderers when running outside iPython ([#1723](https://github.com/plotly/plotly.py/pull/1723))

## [4.1.0] - 2019-08-06

### Updated
Expand Down
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is

- [Online Documentation](https://plot.ly/python)
- [Contributing](contributing.md)
- [Changelog](packages/python/plotly-geo/CHANGELOG.md)
- [Changelog](CHANGELOG.md)
- [Code of Conduct](CODE_OF_CONDUCT.md)
- [Version 3 Migration Guide](migration-guide.md)
- [New! Announcing Dash](https://medium.com/@plotlygraphs/introducing-dash-5ecf7191b503)
Expand All @@ -78,12 +78,12 @@ 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.1.0
pip install plotly==4.2.1
```

or conda.
```
conda install -c plotly plotly==4.1.0
conda install -c plotly plotly=4.2.1
```

### Jupyter Notebook Support
Expand Down Expand Up @@ -126,10 +126,10 @@ set NODE_OPTIONS=--max-old-space-size=4096
jupyter labextension install @jupyter-widgets/jupyterlab-manager@1.0 --no-build

# FigureWidget support
jupyter labextension install plotlywidget@1.1.0 --no-build
jupyter labextension install plotlywidget@1.2.0 --no-build

# and jupyterlab renderer support
jupyter labextension install jupyterlab-plotly@1.1.0 --no-build
jupyter labextension install jupyterlab-plotly@1.2.0 --no-build

# JupyterLab chart editor support (optional)
jupyter labextension install jupyterlab-chart-editor@1.2 --no-build
Expand Down Expand Up @@ -162,6 +162,12 @@ pip install psutil

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

#### Troubleshooting
##### Wrong Executable found
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:

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

### Extended Geo Support
Some plotly.py features rely on fairly large geographic shape files. The county
choropleth figure factory is one such example. These shape files are distributed as a
Expand Down
Loading