Skip to content

Conversation

@nicolaskruchten
Copy link
Contributor

@nicolaskruchten nicolaskruchten commented Dec 17, 2018

addresses errors from #788 ... doesn't add subplots support though!

@nicolaskruchten nicolaskruchten requested a review from dmt0 December 17, 2018 03:14
},
HIDDEN: {
value: 'HIDDEN',
label: '',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so because it does not have a label its going to be hidden?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, it's hidden because it's not included in the next array

'histogram2dcontour',
'carpet',
'scattercarpet',
'contourcarpet',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but so, should we also add parcoords and other unsupported types, just in case someone creates them from the API,

or I guess that just returning null in getAllAxes takes care of the panel not erroring out for those traces?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

returning null causes the Axes panel to be hidden :)

@VeraZab
Copy link
Contributor

VeraZab commented Dec 17, 2018

seems good 💃 if that question above is how it does not error out for plots created through api but not in RCE yet

@nicolaskruchten nicolaskruchten merged commit b3f0d5d into master Dec 17, 2018
@nicolaskruchten nicolaskruchten deleted the alltracetypes branch December 17, 2018 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants