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

Commit 135afe4

Browse files
author
Marc-André Rivet
committed
bump version to v1.1.2
1 parent c0dd6b0 commit 135afe4

8 files changed

+64
-26
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5-
## UNRELEASED
6-
5+
## [1.1.2] - 2019-08-27
76
### Fixed
87
- Fixed problems with `Graph` components leaking events and being recreated multiple times if declared with no ID [#604](https://github.com/plotly/dash-core-components/pull/604)
98

dash_core_components/Graph.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Graph(Component):
7373
unless a separate `edits` config item overrides individual parts
7474
- edits (dict; optional): A set of editable properties. edits has the following type: dict containing keys 'annotationPosition', 'annotationTail', 'annotationText', 'axisTitleText', 'colorbarPosition', 'colorbarTitleText', 'legendPosition', 'legendText', 'shapePosition', 'titleText'.
7575
Those keys have the following types:
76-
- annotationPosition (boolean; optional): annotationPosition: the main anchor of the annotation, which is the
76+
- annotationPosition (boolean; optional): The main anchor of the annotation, which is the
7777
text (if no arrow) or the arrow (which drags the whole thing leaving
7878
the arrow length & direction unchanged)
7979
- annotationTail (boolean; optional): Just for annotations with arrows, change the length and direction of the arrow
@@ -114,12 +114,12 @@ class Graph(Component):
114114
- modeBarButtonsToRemove (list; optional): Remove mode bar button by name.
115115
All modebar button names at https://github.com/plotly/plotly.js/blob/master/src/components/modebar/buttons.js
116116
Common names include:
117-
- sendDataToCloud
118-
- (2D): zoom2d, pan2d, select2d, lasso2d, zoomIn2d, zoomOut2d, autoScale2d, resetScale2d
119-
- (Cartesian): hoverClosestCartesian, hoverCompareCartesian
120-
- (3D): zoom3d, pan3d, orbitRotation, tableRotation, handleDrag3d, resetCameraDefault3d, resetCameraLastSave3d, hoverClosest3d
121-
- (Geo): zoomInGeo, zoomOutGeo, resetGeo, hoverClosestGeo
122-
- hoverClosestGl2d, hoverClosestPie, toggleHover, resetViews
117+
sendDataToCloud;
118+
(2D) zoom2d, pan2d, select2d, lasso2d, zoomIn2d, zoomOut2d, autoScale2d, resetScale2d;
119+
(Cartesian) hoverClosestCartesian, hoverCompareCartesian;
120+
(3D) zoom3d, pan3d, orbitRotation, tableRotation, handleDrag3d, resetCameraDefault3d, resetCameraLastSave3d, hoverClosest3d;
121+
(Geo) zoomInGeo, zoomOutGeo, resetGeo, hoverClosestGeo;
122+
hoverClosestGl2d, hoverClosestPie, toggleHover, resetViews.
123123
- modeBarButtonsToAdd (list; optional): Add mode bar button using config objects
124124
- modeBarButtons (boolean | number | string | dict | list; optional): Fully custom mode bar buttons as nested array,
125125
where the outer arrays represents button groups, and

dash_core_components/dash_core_components.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_core_components/dash_core_components.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_core_components/metadata.json

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,8 +1242,47 @@
12421242
},
12431243
"src/components/Graph.react.js": {
12441244
"description": "Graph can be used to render any plotly.js-powered data visualization.\n\nYou can define callbacks based on user interaction with Graphs such as\nhovering, clicking or selecting",
1245-
"displayName": "GraphWithDefaults",
1246-
"methods": [],
1245+
"displayName": "PlotlyGraph",
1246+
"methods": [
1247+
{
1248+
"name": "plot",
1249+
"docblock": null,
1250+
"modifiers": [],
1251+
"params": [
1252+
{
1253+
"name": "props",
1254+
"type": null
1255+
}
1256+
],
1257+
"returns": null
1258+
},
1259+
{
1260+
"name": "extend",
1261+
"docblock": null,
1262+
"modifiers": [],
1263+
"params": [
1264+
{
1265+
"name": "props",
1266+
"type": null
1267+
}
1268+
],
1269+
"returns": null
1270+
},
1271+
{
1272+
"name": "graphResize",
1273+
"docblock": null,
1274+
"modifiers": [],
1275+
"params": [],
1276+
"returns": null
1277+
},
1278+
{
1279+
"name": "bindEvents",
1280+
"docblock": null,
1281+
"modifiers": [],
1282+
"params": [],
1283+
"returns": null
1284+
}
1285+
],
12471286
"props": {
12481287
"id": {
12491288
"type": {
@@ -1439,7 +1478,7 @@
14391478
"value": {
14401479
"annotationPosition": {
14411480
"name": "bool",
1442-
"description": "annotationPosition: the main anchor of the annotation, which is the\ntext (if no arrow) or the arrow (which drags the whole thing leaving\nthe arrow length & direction unchanged)",
1481+
"description": "The main anchor of the annotation, which is the\ntext (if no arrow) or the arrow (which drags the whole thing leaving\nthe arrow length & direction unchanged)",
14431482
"required": false
14441483
},
14451484
"annotationTail": {
@@ -1604,7 +1643,7 @@
16041643
},
16051644
"modeBarButtonsToRemove": {
16061645
"name": "array",
1607-
"description": "Remove mode bar button by name.\nAll modebar button names at https://github.com/plotly/plotly.js/blob/master/src/components/modebar/buttons.js\nCommon names include:\n - sendDataToCloud\n- (2D): zoom2d, pan2d, select2d, lasso2d, zoomIn2d, zoomOut2d, autoScale2d, resetScale2d\n- (Cartesian): hoverClosestCartesian, hoverCompareCartesian\n- (3D): zoom3d, pan3d, orbitRotation, tableRotation, handleDrag3d, resetCameraDefault3d, resetCameraLastSave3d, hoverClosest3d\n- (Geo): zoomInGeo, zoomOutGeo, resetGeo, hoverClosestGeo\n- hoverClosestGl2d, hoverClosestPie, toggleHover, resetViews",
1646+
"description": "Remove mode bar button by name.\nAll modebar button names at https://github.com/plotly/plotly.js/blob/master/src/components/modebar/buttons.js\nCommon names include:\nsendDataToCloud;\n(2D) zoom2d, pan2d, select2d, lasso2d, zoomIn2d, zoomOut2d, autoScale2d, resetScale2d;\n(Cartesian) hoverClosestCartesian, hoverCompareCartesian;\n(3D) zoom3d, pan3d, orbitRotation, tableRotation, handleDrag3d, resetCameraDefault3d, resetCameraLastSave3d, hoverClosest3d;\n(Geo) zoomInGeo, zoomOutGeo, resetGeo, hoverClosestGeo;\nhoverClosestGl2d, hoverClosestPie, toggleHover, resetViews.",
16081647
"required": false
16091648
},
16101649
"modeBarButtonsToAdd": {

dash_core_components/package-info.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dash-core-components",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Core component suite for Dash",
55
"repository": {
66
"type": "git",
@@ -17,10 +17,10 @@
1717
"start": "webpack-serve ./webpack.serve.config.js --open",
1818
"lint": "eslint src tests",
1919
"lint:py": "flake8 --ignore=E501,F401,F841,F811,W503 tests",
20-
"test": "run-s -c lint lint:py format:test test-unit test:py test:intg",
21-
"test:py": "pytest tests/test_integration.py",
20+
"test": "run-s -c lint lint:py format:test test-unit test:legacy test:intg test:pyimport",
21+
"test:legacy": "pytest tests/test_integration*.py",
2222
"test:intg": "pytest --nopercyfinalize --headless tests/integration",
23-
"test:pyimport": "pytest tests/test_dash_import.py",
23+
"test:pyimport": "python -m unittest tests.test_dash_import",
2424
"test-unit": "jest",
2525
"format": "prettier --config .prettierrc --write src/**/*.js tests/unit/*.js",
2626
"format:test": "prettier --config .prettierrc src/**/*.js tests/unit/*.js --list-different",

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dash-core-components",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Core component suite for Dash",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)