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

Solved issues with documentation when using the CIFAR10 dataset #734

Merged
merged 3 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 33 additions & 31 deletions docs/Tutorial/Multi Dim Images.ipynb

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions examples/plot_ImageGrid_3d_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

import seaborn_image as isns

isns.set_image(origin="lower")

cifar_list = isns.load_image("cifar10 list")

g = isns.ImageGrid(cifar_list, cbar=False, height=1, col_wrap=10)
2 changes: 2 additions & 0 deletions examples/plot_ImageGrid_4d.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

import seaborn_image as isns

isns.set_image(origin="lower")

cifar = isns.load_image("cifar10")

g = isns.ImageGrid(cifar, cbar=False, height=1, col_wrap=10)
2 changes: 1 addition & 1 deletion src/seaborn_image/_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class ImageGrid:
:context: close-figs

>>> cifar = isns.load_image("cifar10")
>>> g = isns.ImageGrid(cifar, height=1, col_wrap=6)
>>> g = isns.ImageGrid(cifar, height=1, col_wrap=6, origin="lower")

Map a function to the image data

Expand Down
Loading