Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Option to compress numpy array in hovertemplate customdata for px.imshow #5003

Copy link
Copy link
Open
@matt-sd-watson

Description

@matt-sd-watson
Issue body actions

Our application enables the generation of multiplexed images, where image regions show multiple "markers" in a tissue sample to demonstrate spatial patterns of marker co-occurrence.

We enable users to toggle a custom hovertemplate that shows the underlying raw array values for each marker before they are converted to RGB:

Image

However, this becomes noticeably slower as the number of markers grows linearly; we pass the customdata template as a stacked numpy array paired with custom hovertext.

An option to compress this template array would help in increasing the speed and effectiveness of using customdata for our hovertemplate

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogbacklogfeaturesomething newsomething new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.