Add Colour and palettes card to gallery#663
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 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 🚀 New features to boost your workflow:
|
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.
cb9e1d3 to
3d2f30b
Compare
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the gallery card and thumbnail for the new
tutorials/color_and_palettenotebook.docs/_static/gallery/color_and_palette.png(51 KB)grid-item-cardblock indocs/gallery.mdunder TutorialsRefs #463.