Skip to content

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Jun 30, 2020

Fixes #4966 by using numeric sort function instaed of default.

@plotly/plotly_js

@archmoj archmoj added bug something broken status: reviewable labels Jun 30, 2020
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.

💃 JavaScript's default sort function is one of the most frustrating choices they made - especially since in many cases it does the right thing anyway so it can make you think you're safe.

@archmoj archmoj merged commit b08d780 into master Jun 30, 2020
@archmoj archmoj deleted the fix4966-median-sort branch June 30, 2020 21:25
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.

Plotly Transform Aggretation: median calculation appears wrong
2 participants