Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit df6654a

Browse files
author
Shammamah Hossain
authored
Merge pull request #610 from plotly/docstrings-fix-dash-docs
Update and fix docstrings.
2 parents 5ed92d7 + bab5b4c commit df6654a

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ jobs:
8080
. venv/bin/activate && pip install --upgrade -e . --quiet && mkdir packages
8181
# build main dash
8282
git clone --depth 1 https://github.com/plotly/dash.git dash-main
83-
cd dash-main && pip install -e . && python setup.py sdist && mv dist/* ../packages/
84-
cd dash-renderer && npm i --ignore-scripts && npm run build:dev && npm run build
83+
cd dash-main && pip install -e .[ci,testing] && python setup.py sdist && mv dist/* ../packages/
84+
cd dash-renderer && npm i --ignore-scripts && npm run build
8585
python setup.py sdist && mv dist/* ../../packages/ && cd ../..
8686
# build dcc
8787
npm i --ignore-scripts && npm run build && python setup.py sdist && mv dist/* ./packages

src/components/Graph.react.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ const graphPropTypes = {
403403
*/
404404
edits: PropTypes.exact({
405405
/**
406-
* annotationPosition: the main anchor of the annotation, which is the
406+
* The main anchor of the annotation, which is the
407407
* text (if no arrow) or the arrow (which drags the whole thing leaving
408408
* the arrow length & direction unchanged)
409409
*/
@@ -540,12 +540,12 @@ const graphPropTypes = {
540540
* Remove mode bar button by name.
541541
* All modebar button names at https://github.com/plotly/plotly.js/blob/master/src/components/modebar/buttons.js
542542
* Common names include:
543-
* - sendDataToCloud
544-
* - (2D): zoom2d, pan2d, select2d, lasso2d, zoomIn2d, zoomOut2d, autoScale2d, resetScale2d
545-
* - (Cartesian): hoverClosestCartesian, hoverCompareCartesian
546-
* - (3D): zoom3d, pan3d, orbitRotation, tableRotation, handleDrag3d, resetCameraDefault3d, resetCameraLastSave3d, hoverClosest3d
547-
* - (Geo): zoomInGeo, zoomOutGeo, resetGeo, hoverClosestGeo
548-
* - hoverClosestGl2d, hoverClosestPie, toggleHover, resetViews
543+
* sendDataToCloud;
544+
* (2D) zoom2d, pan2d, select2d, lasso2d, zoomIn2d, zoomOut2d, autoScale2d, resetScale2d;
545+
* (Cartesian) hoverClosestCartesian, hoverCompareCartesian;
546+
* (3D) zoom3d, pan3d, orbitRotation, tableRotation, handleDrag3d, resetCameraDefault3d, resetCameraLastSave3d, hoverClosest3d;
547+
* (Geo) zoomInGeo, zoomOutGeo, resetGeo, hoverClosestGeo;
548+
* hoverClosestGl2d, hoverClosestPie, toggleHover, resetViews.
549549
*/
550550
modeBarButtonsToRemove: PropTypes.array,
551551

0 commit comments

Comments
 (0)