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

Add vmin and vmax to ImageGrid and related functions #287

Merged
merged 6 commits into from
Oct 28, 2021
Merged

Conversation

SarthakJariwala
Copy link
Owner

Images visualized using ImageGrid can now be compared against each other using the same colorbar min-max limits -

This is done via vmin and vmax parameters in ImageGrid

g = isns.ImageGrid(cells, vmin=0, vmax=1)

You can also use specify individual vmin/vmax for a collection of images:

g = isns.ImageGrid([img1, img2, img3], vmin=[10, 20, 30], vmax=[200, 210, 220])

See #237

@SarthakJariwala SarthakJariwala added the enhancement New feature or request label Oct 28, 2021
@SarthakJariwala SarthakJariwala added this to the v0.5 milestone Oct 28, 2021
@codecov-commenter
Copy link

Codecov Report

Merging #287 (416a6b8) into master (4d54282) will increase coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #287      +/-   ##
==========================================
+ Coverage   96.89%   96.94%   +0.04%     
==========================================
  Files           9        9              
  Lines         773      785      +12     
  Branches      202      204       +2     
==========================================
+ Hits          749      761      +12     
  Misses         11       11              
  Partials       13       13              
Impacted Files Coverage Δ
src/seaborn_image/_grid.py 98.57% <100.00%> (+0.05%) ⬆️

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 4d54282...416a6b8. Read the comment docs.

@SarthakJariwala SarthakJariwala merged commit 99c6d4c into master Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants