GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `ImageGraphic` should use tiling if necessarry, get rid of `HeatmapGraphic` · Issue #507 · fastplotlib/fastplotlib

ImageGraphic should use tiling if necessarry, get rid of HeatmapGraphic #507

New issue
Copy link
New issue
Copy link
Closed
#511
Closed
ImageGraphic should use tiling if necessarry, get rid of HeatmapGraphic#507
#511
Copy link

Description

@kushalkolar
kushalkolar
opened on May 20, 2024
Issue body actions

The only reason HeatmapGraphic exists is to display images with dims larger than the WGPU max texture size (8192, 8192). _ImageTile just adds the chunk index to the pick_info dict but we can instead just use the chunk indices to set the actual index position of events based on the chunk size.

fastplotlib/fastplotlib/graphics/image.py

Lines 323 to 331 in 9a309ef

def _wgpu_get_pick_info(self, pick_value):
pick_info = super()._wgpu_get_pick_info(pick_value)
# add row chunk and col chunk index to pick_info dict
return {
**pick_info,
"row_chunk_index": self.row_chunk_index,
"col_chunk_index": self.col_chunk_index,
}

Activity

  1. kushalkolar
    closed this as completedin #511on Jun 16, 2024
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.