-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
add range_theta kwarg #1969
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
add range_theta kwarg #1969
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just curious to know why you made these changes? In cases variables had to be interpreted within the strings? Asking only for my own enlightenment :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh umm I didn't intentionally change anything there! I must have an autoformatter