Skip to content

Conversation

@archmoj
Copy link
Contributor

@archmoj archmoj commented Apr 30, 2020

The dflt for angle should be set to null not to zero.
Fixes
#4575 (comment)

@plotly/plotly_js

@archmoj archmoj added bug something broken status: reviewable regression this used to work labels Apr 30, 2020
@archmoj archmoj added this to the v1.54.0 milestone Apr 30, 2020
@archmoj archmoj requested a review from alexcjohnson April 30, 2020 18:59
@alexcjohnson
Copy link
Collaborator

My concern with null is that it won’t set the attribute at all in fullData, which is a problem for RCE, it won't know that this attribute should be available. Perhaps we can use 'auto' as the default, and then strip it out before sending to the underlying mapbox library?

- fix fill for zero angles
- update angle description
Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

💃 Excellent! Thanks for clarifying this behavior in the attribute description.

@archmoj archmoj merged commit 5227793 into master Apr 30, 2020
@archmoj archmoj deleted the scattermapbox-marker-angle-dflt branch April 30, 2020 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug something broken regression this used to work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants