Skip to content

Comments

Added title info to visualization with optional show_id arg#211

Merged
sanjanag merged 5 commits intocleanlab:mainfrom
sanjanag:viz-titles
Jul 17, 2023
Merged

Added title info to visualization with optional show_id arg#211
sanjanag merged 5 commits intocleanlab:mainfrom
sanjanag:viz-titles

Conversation

@sanjanag
Copy link
Contributor

@sanjanag sanjanag commented Jul 13, 2023

@sanjanag sanjanag marked this pull request as ready for review July 13, 2023 14:37
@codecov
Copy link

codecov bot commented Jul 13, 2023

Codecov Report

Merging #211 (548398a) into main (28c15f0) will decrease coverage by 0.27%.
The diff coverage is 93.02%.

@@            Coverage Diff             @@
##             main     #211      +/-   ##
==========================================
- Coverage   95.65%   95.38%   -0.27%     
==========================================
  Files          16       16              
  Lines         944      954      +10     
  Branches      184      188       +4     
==========================================
+ Hits          903      910       +7     
- Misses         21       23       +2     
- Partials       20       21       +1     
Impacted Files Coverage Δ
src/cleanvision/imagelab.py 89.78% <75.00%> (-0.98%) ⬇️
src/cleanvision/utils/viz_manager.py 98.52% <100.00%> (+0.19%) ⬆️

... and 1 file with indirect coverage changes

@sanjanag sanjanag requested a review from jwmueller July 13, 2023 15:05
@jwmueller
Copy link
Member

add screenshots

raise ValueError("issue_types list is empty")
for issue_type in issue_types:
self._visualize(issue_type, num_images, cell_size)
self._visualize(issue_type, num_images, cell_size, show_id)
Copy link
Member

Choose a reason for hiding this comment

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

try to hit this line in unit tests if not too hard

@jwmueller jwmueller self-requested a review July 14, 2023 03:55
Copy link
Member

@jwmueller jwmueller left a comment

Choose a reason for hiding this comment

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

LGTM, feel free to merge whenever.
Just had small docstring suggestion and suggest to improve codecov

Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
@sanjanag sanjanag merged commit ff59d69 into cleanlab:main Jul 17, 2023
@sanjanag sanjanag deleted the viz-titles branch July 17, 2023 03: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