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

Plotting of continuous values when norm=None #201

Merged

Conversation

Sonja-Stockhaus
Copy link
Collaborator

Add a case to set norm when norm=None in utils._prepare_cmap_norm

@Sonja-Stockhaus Sonja-Stockhaus linked an issue Dec 12, 2023 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2023

Codecov Report

Merging #201 (3bb5dc6) into main (9bb23e6) will increase coverage by 0.41%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #201      +/-   ##
==========================================
+ Coverage   78.58%   78.99%   +0.41%     
==========================================
  Files          11       11              
  Lines        1312     1314       +2     
==========================================
+ Hits         1031     1038       +7     
+ Misses        281      276       -5     
Files Coverage Δ
src/spatialdata_plot/pl/utils.py 63.27% <100.00%> (+0.13%) ⬆️

... and 2 files with indirect coverage changes

@Sonja-Stockhaus
Copy link
Collaborator Author

@timtreis could you please have a look at the bugfix? It works now, but there was still an open TODO in the code and I'm not sure what the intention for the original first case was...

@LucaMarconato
Copy link
Member

Amazing @Sonja-Stockhaus! Thanks for the fix 😊 Since the todo was there also before the fix I would merge now and eventually circle back later.

@Sonja-Stockhaus
Copy link
Collaborator Author

@LucaMarconato okay, thanks for the feedback!

@Sonja-Stockhaus Sonja-Stockhaus marked this pull request as ready for review January 7, 2024 15:56
@timtreis timtreis self-requested a review January 9, 2024 20:17
@timtreis timtreis merged commit 09a31ad into main Jan 9, 2024
@timtreis timtreis deleted the bugfix/issue165-cannot-plot-continuous-var-values-to-labels branch January 9, 2024 20:18
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.

Cannot plot continuous var values to labels
4 participants