Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rounding issues in DynamicMap #944

Merged
merged 2 commits into from
Oct 21, 2016
Merged

Fix rounding issues in DynamicMap #944

merged 2 commits into from
Oct 21, 2016

Conversation

philippjfr
Copy link
Member

Fixes issue #601 involving a bug where dimension values were rounded up outside a Dimension range before being sent to JS, causing the DynamicMap to throw out of range errors. I now round to 11 decimal places and then throw away the last digit.

@philippjfr
Copy link
Member Author

philippjfr commented Oct 21, 2016

PR build doesn't include the nbpublisher update for the bokeh tests yet. PR build should pass though.

@jlstevens
Copy link
Contributor

Throwing the last digit should always reduce the abs() value so this approach seems fairly sensible. I'm happy to merge if you feel it is ready and tested.

@philippjfr
Copy link
Member Author

Yes, ready to merge.

@jlstevens jlstevens merged commit af3bc4f into master Oct 21, 2016
@philippjfr philippjfr deleted the dynamic_round_bug branch January 7, 2017 15:01
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.

2 participants