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

Commit fde5bdd

Browse files
committed
update description of Graph.figure (no config or frames)
1 parent 393f60a commit fde5bdd

10 files changed

+21
-6
lines changed

dash_core_components/Graph.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class Graph(Component):
2323
when the user zooms or pans on the plot
2424
- figure (dict; optional): Plotly `figure` object. See schema:
2525
https://plot.ly/javascript/reference
26+
Only supports `data` array and `layout` object.
27+
`config` is set separately by the `config` property,
28+
and `frames` is not supported.
2629
- style (dict; optional): Generic style overrides on the plot div
2730
- className (string; optional): className of the parent div
2831
- animate (boolean; optional): Beta: If true, animate between updates using

dash_core_components/dash_core_components.dev.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112387,6 +112387,9 @@ var graphPropTypes = {
112387112387
/**
112388112388
* Plotly `figure` object. See schema:
112389112389
* https://plot.ly/javascript/reference
112390+
* Only supports `data` array and `layout` object.
112391+
* `config` is set separately by the `config` property,
112392+
* and `frames` is not supported.
112390112393
*/
112391112394
figure: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
112392112395

dash_core_components/dash_core_components.dev.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/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: 1 addition & 1 deletion
Large diffs are not rendered by default.

inst/deps/dash_core_components.dev.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112387,6 +112387,9 @@ var graphPropTypes = {
112387112387
/**
112388112388
* Plotly `figure` object. See schema:
112389112389
* https://plot.ly/javascript/reference
112390+
* Only supports `data` array and `layout` object.
112391+
* `config` is set separately by the `config` property,
112392+
* and `frames` is not supported.
112390112393
*/
112391112394
figure: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
112392112395

inst/deps/dash_core_components.dev.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.

inst/deps/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.

man/coreGraph.Rd

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ data from the last point that was hovered over.}
3535
when the user zooms or pans on the plot}
3636

3737
\item{figure}{Plotly `figure` object. See schema:
38-
https://plot.ly/javascript/reference}
38+
https://plot.ly/javascript/reference
39+
Only supports `data` array and `layout` object.
40+
`config` is set separately by the `config` property,
41+
and `frames` is not supported.}
3942

4043
\item{style}{Generic style overrides on the plot div}
4144

src/components/Graph.react.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ const graphPropTypes = {
264264
/**
265265
* Plotly `figure` object. See schema:
266266
* https://plot.ly/javascript/reference
267+
* Only supports `data` array and `layout` object.
268+
* `config` is set separately by the `config` property,
269+
* and `frames` is not supported.
267270
*/
268271
figure: PropTypes.object,
269272

0 commit comments

Comments
 (0)