Skip to content

Conversation

@ordiology
Copy link
Contributor

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

.gitignore Outdated
*.DS_Store
gh-pages
.Rproj.user
gl-heatmap2d.Rproj
Copy link
Contributor

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?

@archmoj
Copy link
Contributor

archmoj commented Jul 7, 2020

@ordiology thanks very much for the PR.
Would you mind adding info to the README file regarding zsmooth: false option.
This is going to be released in a minor.


npm-debug.log
node_modules/*
package-lock.json
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@archmoj
Copy link
Contributor

archmoj commented Jul 20, 2020

@ordiology thanks very much for th PR.
💃

@archmoj archmoj merged commit c90ae04 into gl-vis:master Jul 20, 2020
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