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 heatmap intensity #1282

Merged
merged 13 commits into from
Jun 14, 2020

Conversation

Conengmo
Copy link
Member

@Conengmo Conengmo commented Apr 7, 2020

Closes #1271.

Weights are broken in the heatmap plugin. See the linked issue for more details.

The leaflet.heat dependency seems abandoned. There is a PR with a fix available, but it's not getting merged. Host this dependency in our repo and include the fix.

todo

  • put in a userwarning that max_val is deprecated and why
  • add a selenium test that verifies behavior with weights

@Conengmo Conengmo changed the title Fix heatmap intensity Fix heatmap intensity [WIP] Apr 7, 2020
@Conengmo
Copy link
Member Author

Conengmo commented Apr 7, 2020

Do not merge until the JS dependency URL has been updated after review has finished.

@Conengmo
Copy link
Member Author

Conengmo commented Apr 9, 2020

@ocefpaf could you take a look at this? The issue poster cannot help review it. It's a pretty bad bug though, and has been for some time (#1271, #496)

Copy link
Member

@ocefpaf ocefpaf left a comment

Choose a reason for hiding this comment

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

LGTM but I have to confess I've been away from the code base for so long that I would like a regression test to be in place. However, do not let that prevent you from merging this as is.

@Conengmo
Copy link
Member Author

Thanks for checking. About regression tests, how do you feel about having Selenium tests? I have time to add those. But maybe you can say something about making it work in Appveyor?

@ocefpaf
Copy link
Member

ocefpaf commented Apr 16, 2020

how do you feel about having Selenium tests?

Those are great!

I have time to add those.

Awesome!

But maybe you can say something about making it work in Appveyor?

Just add a pytest mark and skip them on AppVeyor at the moment. I'll investigate later how to run them there. (Or move to AzurePipelines.)

@Conengmo Conengmo force-pushed the fix-heatmap-intensity branch 4 times, most recently from abe2062 to 4a2dbc1 Compare June 13, 2020 13:51
@Conengmo Conengmo changed the title Fix heatmap intensity [WIP] Fix heatmap intensity Jun 13, 2020
@Conengmo Conengmo merged commit 9c49738 into python-visualization:master Jun 14, 2020
@Conengmo Conengmo deleted the fix-heatmap-intensity branch June 14, 2020 15:25
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.

HeatMap doesn't use weights
3 participants