Skip to content

Commit

Permalink
add new graph config arg editSelection
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcjohnson committed Oct 25, 2022
1 parent c924e42 commit 72c630c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions components/dash-core-components/src/components/Graph.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,11 @@ PlotlyGraph.propTypes = {
*/
editable: PropTypes.bool,

/**
* Enables moving selections
*/
editSelection: PropTypes.bool,

/**
* A set of editable properties
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


@pytest.mark.parametrize("is_eager", [True, False])
def test_graph_does_not_resize_in_tabs(dash_dcc, is_eager):
def test_tagr001_graph_does_not_resize_in_tabs(dash_dcc, is_eager):
app = Dash(__name__, eager_loading=is_eager)
app.layout = html.Div(
[
Expand Down Expand Up @@ -123,7 +123,7 @@ def render_content(tab):
strict=False,
)
@pytest.mark.parametrize("is_eager", [True, False])
def test_tabs_render_without_selected(dash_dcc, is_eager):
def test_tagr002_tabs_render_without_selected(dash_dcc, is_eager):
app = Dash(__name__, eager_loading=is_eager)

menu = html.Div([html.Div("one", id="one"), html.Div("two", id="two")])
Expand Down

0 comments on commit 72c630c

Please sign in to comment.