Skip to content

heatmapgl cursor popup can't go wider than the plot is tall #1825

Closed
@ssfrr

Description

@ssfrr

I use heatmaps to plot spectrograms represented as matrices. In trying to improve performance I tried using heatmapgl, but it looks like there's an issue with the cursor popover where it stops following the cursor when the X coordinate is greater than 1023.

Example:
https://jsfiddle.net/xfj1yxyu/3/

EDIT: corrected fiddle URL

Activity

etpinard

etpinard commented on Jun 28, 2017

@etpinard
Contributor
ssfrr

ssfrr commented on Jun 28, 2017

@ssfrr
Author

just realized that 1023 isn't special, but that's the height of my plot (well, 1025, but that's close enough). When the plot is taller than it is wide things seem to be OK.

A smaller (e.g. 50x100) heatmapgl shows the same behavior.

changed the title [-]heatmapgl cursor popup can't go past 1023[/-] [+]heatmapgl cursor popup can't go wide if the plot is tall[/+] on Jun 28, 2017
changed the title [-]heatmapgl cursor popup can't go wide if the plot is tall[/-] [+]heatmapgl cursor popup can't go wider than the plot is tall[/+] on Jun 28, 2017
dy

dy commented on Jun 28, 2017

@dy
Contributor

Same issue we have with contourgl type of plot.
Codepen.

added a commit that references this issue on Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @dy@ssfrr@etpinard

      Issue actions

        heatmapgl cursor popup can't go wider than the plot is tall · Issue #1825 · plotly/plotly.js