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

Ensure overlay_aggregate is not applied for anti-aliased lines #5266

Merged
merged 2 commits into from
Apr 10, 2022

Conversation

philippjfr
Copy link
Member

This optimization does not work for anti-aliased curves.

@codecov-commenter
Copy link

codecov-commenter commented Apr 8, 2022

Codecov Report

Merging #5266 (8608b23) into master (7930d08) will decrease coverage by 0.00%.
The diff coverage is 77.77%.

@@            Coverage Diff             @@
##           master    #5266      +/-   ##
==========================================
- Coverage   86.72%   86.71%   -0.01%     
==========================================
  Files         299      299              
  Lines       62187    62189       +2     
==========================================
+ Hits        53929    53930       +1     
- Misses       8258     8259       +1     
Impacted Files Coverage Δ
holoviews/operation/datashader.py 79.94% <77.77%> (-0.06%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7930d08...8608b23. Read the comment docs.

if not self.applies(element, agg_fn, line_width=self.p.line_width):
raise ValueError(
'overlay_aggregate only handles aggregation of NdOverlay types '
'with count, sum or mean reduction.'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'with count, sum or mean reduction.'
'with count, sum, any, or mean reduction.'

@philippjfr philippjfr merged commit c5b2ccd into master Apr 10, 2022
philippjfr added a commit that referenced this pull request Apr 10, 2022
* Ensure overlay_aggregate is not applied for anti-aliased lines

* Small fixes
@philippjfr philippjfr deleted the overlay_aggregate_fix branch April 25, 2022 14:43
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants