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

Make GlyphView.mask_data() always narrow indices to the viewport #13332

Open
wants to merge 6 commits into
base: branch-3.5
Choose a base branch
from

Conversation

mattpap
Copy link
Contributor

@mattpap mattpap commented Aug 14, 2023

Previously mask_data() usually returned all (subset) indices and only give non-trivial results for a handful of glyphs. This PR makes mask_data() always narrow indices to view viewport (and utilize the spatial index). There's a handful of glyphs that require special behavior, because e.g. their _render() method doesn't work will with non-contiguous indices. This is in preparation to fix point (1) from holoviz/holoviews#5840 (comment).

@mattpap mattpap added this to the 3.3 milestone Aug 14, 2023
@mattpap mattpap added the grant: CZI R5 Funded by CZI Round 5 grant label Aug 14, 2023
@codecov
Copy link

codecov bot commented Aug 14, 2023

Codecov Report

Merging #13332 (55ac6bc) into branch-3.3 (ef355aa) will increase coverage by 0.00%.
Report is 6 commits behind head on branch-3.3.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           branch-3.3   #13332   +/-   ##
===========================================
  Coverage       92.45%   92.45%           
===========================================
  Files             315      315           
  Lines           20150    20156    +6     
===========================================
+ Hits            18629    18635    +6     
  Misses           1521     1521           

@bryevdv bryevdv self-requested a review August 14, 2023 17:02
@droumis droumis removed the grant: CZI R5 Funded by CZI Round 5 grant label Aug 30, 2023
@mattpap mattpap modified the milestones: 3.3, 3.x Oct 4, 2023
@mattpap mattpap changed the base branch from branch-3.3 to branch-3.4 October 10, 2023 12:45
@mattpap mattpap changed the base branch from branch-3.4 to branch-3.5 March 14, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants