-
-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor stage 2 aggregation for antialiased lines (#1145)
* Antialias combinations for all line types * Remove scalar _AntiAliasedLine.antialias_combination * 2-stage agg for min and sum reductions * Overwrite flag, correct other glyph APIs and tests * Replace None with False for CUDA support * Linting * Update datashader/compiler.py Co-authored-by: James A. Bednar <jbednar@users.noreply.github.com> Co-authored-by: James A. Bednar <jbednar@users.noreply.github.com>
- Loading branch information
1 parent
e888ba3
commit e3d2d1f
Showing
16 changed files
with
393 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from __future__ import annotations | ||
from enum import Enum | ||
|
||
|
||
# Enum used to specify how the second stage aggregation is performed | ||
# for 2-stage antialiased lines. | ||
class AntialiasCombination(Enum): | ||
SUM_1AGG = 1 | ||
SUM_2AGG = 2 | ||
MIN = 3 | ||
MAX = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.