-
Notifications
You must be signed in to change notification settings - Fork 3
Fix4924 discrete heatmap2d #6
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
Conversation
Merge branch 'master' into discrete-heatmap2d # Conflicts: # package-lock.json
.gitignore
Outdated
| *.DS_Store | ||
| gh-pages | ||
| .Rproj.user | ||
| gl-heatmap2d.Rproj |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we need to add these?
|
@ordiology thanks very much for the PR. |
… removed unnecessary additions to the .gitignore.
|
|
||
| npm-debug.log | ||
| node_modules/* | ||
| package-lock.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's revert these changes in .gitignore file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tried to do this, but I'm not sure I've done it correctly. Please let me know if there's still an issue.
|
@ordiology thanks very much for th PR. |
This version of gl-heatmap2d modifies Mikola Lysenko's original code to optionally produced a discretised heatmap instead of an interpolated one. This is achieved by introducing an is.smooth variable:
var isSmooth = options.zsmooth !== false
Scientific data is often discretised and this option will allow the data to be represented as measured rather than smoothing between observations.
This change will resolve this plotly issue: plotly/plotly.js#4924, and is currently being addressed in this pull: plotly/plotly.js#4953