Skip to content

Commit

Permalink
Fix generate_gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
has2k1 committed Dec 6, 2023
1 parent 24fa353 commit 63c1d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/gallery/_gallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,6 @@ def generate_gallery() -> str:
for fp in EXAMPLES_DIR.glob("*.ipynb")
if not fp.name.endswith(".out.ipynb")
)
images = get_gallery_images(notebooks)
images = (str(img) for img in get_gallery_images(notebooks))
gallery = Div(list(images), Attr(classes=["gallery", "grid"]))
return str(gallery)

0 comments on commit 63c1d31

Please sign in to comment.