Skip to content

Conversation

rreusser
Copy link
Contributor

transforms: [{}] causes plotly to fail with:

screen shot 2017-06-28 at 11 19 27

See: https://codepen.io/rsreusser/pen/GEyWav

I could have it compress empty transforms out of the picture ([{}] --> [], but because of indexing (it should work but I'm too worried it'll cause unexpected failures elsewhere), I've elected to just leave [{}] --> [{}]. This PR prevents it from throwing an error.

@rreusser rreusser added status: reviewable bug something broken labels Jun 28, 2017
@etpinard
Copy link
Contributor

Looks good. 💃

@rreusser rreusser merged commit d47ace6 into master Jun 28, 2017
@rreusser rreusser deleted the accept-empty-transform branch June 28, 2017 15:49
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