Skip to content

Conversation

@zoccoler
Copy link
Contributor

This PR solves bugs described in #71, #72 and #73 .

zoccoler added 5 commits July 14, 2025 13:49
Moved the removal and clearing of _highlighted_bin_patches from Histogram2D._highlight_data to the base Artist class cleanup methods. This fixes a bug where patches were being cleared multiple times and the list of patches was not being emptied.
Adds a showEvent handler to CanvasWidget to re-bind the Escape key to clear selections and highlights when the widget is shown.
Ensures that highlighted bin patches are shown or hidden when the artist's visibility is changed by updating their visibility state accordingly.
Update the package version from 0.4.0 to 0.4.1 in preparation for a new release.
@codecov
Copy link

codecov bot commented Jul 14, 2025

Codecov Report

Attention: Patch coverage is 63.63636% with 4 lines in your changes missing coverage. Please review.

Project coverage is 81.47%. Comparing base (7fd3370) to head (c5c8fa1).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
src/biaplotter/artists_base.py 60.00% 2 Missing ⚠️
src/biaplotter/plotter.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #74      +/-   ##
==========================================
+ Coverage   81.24%   81.47%   +0.22%     
==========================================
  Files           9        9              
  Lines        1386     1387       +1     
==========================================
+ Hits         1126     1130       +4     
+ Misses        260      257       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zoccoler zoccoler merged commit d16cecc into main Jul 14, 2025
14 of 15 checks passed
@zoccoler zoccoler deleted the fix_patches_and_escape branch July 14, 2025 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants