-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1969 from plotly/range_theta
add range_theta kwarg
- Loading branch information
Showing
6 changed files
with
55 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,10 @@ jobs: | |
- checkout | ||
- run: | ||
name: Install black | ||
command: 'sudo pip install black' | ||
command: "sudo pip install black" | ||
- run: | ||
name: Check formatting with black | ||
command: 'black --check .' | ||
command: "black --check ." | ||
|
||
# Core | ||
python-2.7-core: | ||
|
@@ -25,10 +25,10 @@ jobs: | |
- checkout | ||
- run: | ||
name: Install tox | ||
command: 'sudo pip install tox' | ||
command: "sudo pip install tox" | ||
- run: | ||
name: Test with tox | ||
command: 'cd packages/python/plotly; tox -e py27-core' | ||
command: "cd packages/python/plotly; tox -e py27-core" | ||
no_output_timeout: 20m | ||
|
||
python-3.5-core: | ||
|
@@ -41,10 +41,10 @@ jobs: | |
- checkout | ||
- run: | ||
name: Install tox | ||
command: 'sudo pip install tox' | ||
command: "sudo pip install tox" | ||
- run: | ||
name: Test with tox | ||
command: 'cd packages/python/plotly; tox -e py35-core' | ||
command: "cd packages/python/plotly; tox -e py35-core" | ||
no_output_timeout: 20m | ||
|
||
python-3.6-core: | ||
|
@@ -57,10 +57,10 @@ jobs: | |
- checkout | ||
- run: | ||
name: Install tox | ||
command: 'sudo pip install tox' | ||
command: "sudo pip install tox" | ||
- run: | ||
name: Test with tox | ||
command: 'cd packages/python/plotly; tox -e py36-core' | ||
command: "cd packages/python/plotly; tox -e py36-core" | ||
no_output_timeout: 20m | ||
|
||
python-3.7-core: | ||
|
@@ -73,10 +73,10 @@ jobs: | |
- checkout | ||
- run: | ||
name: Install tox | ||
command: 'sudo pip install tox' | ||
command: "sudo pip install tox" | ||
- run: | ||
name: Test with tox | ||
command: 'cd packages/python/plotly; tox -e py37-core' | ||
command: "cd packages/python/plotly; tox -e py37-core" | ||
no_output_timeout: 20m | ||
|
||
python-3.7-percy: | ||
|
@@ -122,14 +122,14 @@ jobs: | |
- checkout | ||
- run: | ||
name: Install tox | ||
command: 'sudo pip install tox' | ||
command: "sudo pip install tox" | ||
- run: | ||
name: Install npm dependencies | ||
command: cd packages/python/plotly/plotly/tests/test_optional/test_jupyter && npm install | ||
no_output_timeout: 20m | ||
- run: | ||
name: Test with tox | ||
command: 'cd packages/python/plotly; tox -e py27-optional' | ||
command: "cd packages/python/plotly; tox -e py27-optional" | ||
no_output_timeout: 20m | ||
|
||
python-3.5-optional: | ||
|
@@ -142,14 +142,14 @@ jobs: | |
- checkout | ||
- run: | ||
name: Install tox | ||
command: 'sudo pip install tox' | ||
command: "sudo pip install tox" | ||
- run: | ||
name: Install npm dependencies | ||
command: cd packages/python/plotly/plotly/tests/test_optional/test_jupyter && npm install | ||
no_output_timeout: 20m | ||
- run: | ||
name: Test with tox | ||
command: 'cd packages/python/plotly; tox -e py35-optional' | ||
command: "cd packages/python/plotly; tox -e py35-optional" | ||
no_output_timeout: 20m | ||
|
||
python-3.6-optional: | ||
|
@@ -162,14 +162,14 @@ jobs: | |
- checkout | ||
- run: | ||
name: Install tox | ||
command: 'sudo pip install tox' | ||
command: "sudo pip install tox" | ||
- run: | ||
name: Install npm dependencies | ||
command: cd packages/python/plotly/plotly/tests/test_optional/test_jupyter && npm install | ||
no_output_timeout: 20m | ||
- run: | ||
name: Test with tox | ||
command: 'cd packages/python/plotly; tox -e py36-optional' | ||
command: "cd packages/python/plotly; tox -e py36-optional" | ||
no_output_timeout: 20m | ||
|
||
python-3.7-optional: | ||
|
@@ -182,14 +182,14 @@ jobs: | |
- checkout | ||
- run: | ||
name: Install tox | ||
command: 'sudo pip install tox' | ||
command: "sudo pip install tox" | ||
- run: | ||
name: Install npm dependencies | ||
command: cd packages/python/plotly/plotly/tests/test_optional/test_jupyter && npm install | ||
no_output_timeout: 20m | ||
- run: | ||
name: Test with tox | ||
command: 'cd packages/python/plotly; tox -e py37-optional' | ||
command: "cd packages/python/plotly; tox -e py37-optional" | ||
no_output_timeout: 20m | ||
|
||
# Plot.ly | ||
|
@@ -203,10 +203,10 @@ jobs: | |
- checkout | ||
- run: | ||
name: Install tox | ||
command: 'sudo pip install tox' | ||
command: "sudo pip install tox" | ||
- run: | ||
name: Test with tox | ||
command: 'cd packages/python/chart-studio; tox -e py27-plot_ly' | ||
command: "cd packages/python/chart-studio; tox -e py27-plot_ly" | ||
no_output_timeout: 20m | ||
|
||
python-3.5-plot_ly: | ||
|
@@ -219,10 +219,10 @@ jobs: | |
- checkout | ||
- run: | ||
name: Install tox | ||
command: 'sudo pip install tox' | ||
command: "sudo pip install tox" | ||
- run: | ||
name: Test with tox | ||
command: 'cd packages/python/chart-studio; tox -e py35-plot_ly' | ||
command: "cd packages/python/chart-studio; tox -e py35-plot_ly" | ||
no_output_timeout: 20m | ||
|
||
python-3.7-plot_ly: | ||
|
@@ -235,10 +235,10 @@ jobs: | |
- checkout | ||
- run: | ||
name: Install tox | ||
command: 'sudo pip install tox' | ||
command: "sudo pip install tox" | ||
- run: | ||
name: Test with tox | ||
command: 'cd packages/python/chart-studio; tox -e py37-plot_ly' | ||
command: "cd packages/python/chart-studio; tox -e py37-plot_ly" | ||
no_output_timeout: 20m | ||
|
||
python-2-7-orca: | ||
|
@@ -269,7 +269,7 @@ jobs: | |
pytest packages/python/plotly/plotly/tests/test_orca | ||
- store_artifacts: | ||
path: plotly/tests/test_orca/images/linux/failed | ||
path: plotly/tests/test_orca/images/linux/failed | ||
|
||
python-3-5-orca: | ||
docker: | ||
|
@@ -299,7 +299,7 @@ jobs: | |
pytest packages/python/plotly/plotly/tests/test_orca | ||
- store_artifacts: | ||
path: plotly/tests/test_orca/images/linux/failed | ||
path: plotly/tests/test_orca/images/linux/failed | ||
|
||
python-3-7-orca: | ||
docker: | ||
|
@@ -325,12 +325,12 @@ jobs: | |
command: | | ||
. /home/circleci/miniconda/etc/profile.d/conda.sh | ||
conda activate circle_optional | ||
pytest --doctest-modules --ignore packages/python/plotly/plotly/tests --ignore packages/python/plotly/plotly/matplotlylib/mplexporter/tests packages/python/plotly/plotly | ||
pytest --doctest-modules --ignore packages/python/plotly/plotly/tests --ignore packages/python/plotly/plotly/matplotlylib/mplexporter/tests packages/python/plotly/plotly | ||
pytest --disable-warnings packages/python/plotly/plotly/tests/test_core | ||
pytest packages/python/plotly/plotly/tests/test_orca | ||
- store_artifacts: | ||
path: plotly/tests/test_orca/images/linux/failed | ||
path: plotly/tests/test_orca/images/linux/failed | ||
|
||
plotlyjs_dev_build: | ||
docker: | ||
|
@@ -343,13 +343,13 @@ jobs: | |
- checkout | ||
- run: | ||
name: Install tox | ||
command: 'sudo pip install retrying tox black inflect' | ||
command: "sudo pip install retrying tox black inflect" | ||
- run: | ||
name: Update jupyterlab-plotly version | ||
command: 'cd packages/python/plotly; python setup.py updateplotlywidgetversion' | ||
command: "cd packages/python/plotly; python setup.py updateplotlywidgetversion" | ||
- run: | ||
name: Update plotly.js to dev | ||
command: 'cd packages/python/plotly; python setup.py updateplotlyjsdev' | ||
command: "cd packages/python/plotly; python setup.py updateplotlyjsdev" | ||
- run: | ||
name: Test with tox | ||
command: | | ||
|
@@ -385,15 +385,13 @@ jobs: | |
- store_artifacts: | ||
path: packages/python/plotly/dist | ||
|
||
|
||
build-doc: | ||
resource_class: xlarge | ||
docker: | ||
# specify the version you desire here | ||
# use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers` | ||
- image: circleci/python:3.6.8-node | ||
|
||
|
||
working_directory: ~/project | ||
|
||
steps: | ||
|
@@ -419,12 +417,12 @@ jobs: | |
npm install [email protected] | ||
npm install orca | ||
pip install -r requirements.txt | ||
if [ "${CIRCLE_BRANCH}" == "master" ]; then | ||
if [ "${CIRCLE_BRANCH}" != "doc-prod" ]; then | ||
pip uninstall -y plotly | ||
cd ../packages/python/plotly | ||
python3 setup.py install | ||
cd ../../../doc | ||
fi | ||
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 | ||
cd .. | ||
|
@@ -484,12 +482,9 @@ jobs: | |
cd ../.. | ||
- store_artifacts: | ||
path: doc/build | ||
destination: doc/build | ||
|
||
|
||
|
||
workflows: | ||
version: 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters