Skip to content

Why is heatmap rendering 5x faster with zsmooth=best than with zsmooth=false? #6521

@josephernest

Description

@josephernest

Rendering a heatmap with zsmooth=best (demo here) is rendering at ~ 5fps for me.

This is 5 times faster than with zsmooth=false (only 1 fps for me, demo here), which seems unlogical.

Doing an interpolation should make it slower, not faster. Is there a bug that makes it slower when doing no interpolation?

This shows that zsmooth=false heatmap rendering could probably be improved a lot.

Plotly.newPlot('myDiv',  [{z: z, colorscale: 'Jet', type: 'heatmap', zsmooth: 'false'}], {sliders: [{steps: steps}]});

Any idea about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions