Skip to content

Throw an error when redraw called on invalid gd#907

Merged
rreusser merged 1 commit into
masterfrom
reject-if-invalid-gd
Sep 6, 2016
Merged

Throw an error when redraw called on invalid gd#907
rreusser merged 1 commit into
masterfrom
reject-if-invalid-gd

Conversation

@rreusser

@rreusser rreusser commented Sep 6, 2016

Copy link
Copy Markdown
Contributor

As discussed, this replaces a warning + early return on invalid gd with throwing an error. Related to but does not address the fact that Lib.isPlotDiv(Plotly.purge(gd)) === true if gd was ever a plot.

@rreusser rreusser changed the title Throw an error when redwraw called on invalid gd Throw an error when redraw called on invalid gd Sep 6, 2016
@rreusser
rreusser force-pushed the reject-if-invalid-gd branch from 5d5d5a9 to e3ccac5 Compare September 6, 2016 18:33
@etpinard etpinard added type: maintenance bug something broken and removed type: maintenance labels Sep 6, 2016
@etpinard

etpinard commented Sep 6, 2016

Copy link
Copy Markdown
Contributor

thanks 💃

@etpinard etpinard added this to the v1.17.0 milestone Sep 6, 2016
@rreusser
rreusser merged commit cecf090 into master Sep 6, 2016
@rreusser
rreusser deleted the reject-if-invalid-gd branch September 6, 2016 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug something broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants