Skip to content

Add Colour and palettes card to gallery#663

Merged
timtreis merged 4 commits into
mainfrom
docs/issue-463-gallery-card
May 12, 2026
Merged

Add Colour and palettes card to gallery#663
timtreis merged 4 commits into
mainfrom
docs/issue-463-gallery-card

Conversation

@timtreis
Copy link
Copy Markdown
Member

@timtreis timtreis commented May 12, 2026

Summary

Adds the gallery card and thumbnail for the new tutorials/color_and_palette notebook.

  • New thumbnail at docs/_static/gallery/color_and_palette.png (51 KB)
  • New grid-item-card block in docs/gallery.md under Tutorials

Refs #463.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.54%. Comparing base (6687b87) to head (6872c2f).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #663      +/-   ##
==========================================
+ Coverage   77.07%   77.54%   +0.47%     
==========================================
  Files          11       11              
  Lines        3280     3572     +292     
  Branches      774      838      +64     
==========================================
+ Hits         2528     2770     +242     
- Misses        454      480      +26     
- Partials      298      322      +24     

see 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Adds the gallery card for the new Colour and palettes tutorial in the
notebooks submodule (link resolves once the submodule pointer is
bumped). Refreshes the Visium thumbnail with the high-resolution
publication-style figure from the reworked notebook.

Refs #463.
@timtreis timtreis force-pushed the docs/issue-463-gallery-card branch from cb9e1d3 to 3d2f30b Compare May 12, 2026 12:28
@timtreis timtreis marked this pull request as ready for review May 12, 2026 12:33
timtreis added 3 commits May 12, 2026 14:36
Bumps docs/notebooks to scverse/spatialdata-plot-notebooks@3e14801
(squash-merge of #4). Resolves the Sphinx 'unknown document' warning
that fails the docs build because the gallery card links to
notebooks/tutorials/color_and_palette.
Gallery cards previously inherited each thumbnail's native aspect
ratio, producing uneven card heights. Pin .sd-card-img-top to a
fixed 200px box with `object-fit: contain` on a white background so
images centre inside a uniform slot regardless of source dimensions.
@timtreis timtreis merged commit 8f86f6e into main May 12, 2026
7 of 8 checks passed
@timtreis timtreis deleted the docs/issue-463-gallery-card branch May 12, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants