Skip to content
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
12 changes: 12 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,15 @@
div.cell_output table.dataframe {
font-size: 0.8em;
}

/* Gallery cards: normalise thumbnail height so cards line up regardless
of the underlying image aspect ratio. Image is contained (not cropped)
on a white background, centred in the slot. */
.sd-card-img-top {
height: 240px;
width: 100%;
object-fit: contain;
background: #ffffff;
padding: 8px;
box-sizing: border-box;
}
Binary file added docs/_static/gallery/color_and_palette.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/gallery/visium_mouse_brain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions docs/gallery.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ The fluent `.pl` API, layering, and styling on the in-memory `blobs`
dataset. Ideal first read.
:::

:::{grid-item-card} Colour and palettes
:link: notebooks/tutorials/color_and_palette
:link-type: doc
:img-top: _static/gallery/color_and_palette.png

How `color=` resolves, the v0.3.0 `groups` behaviour, and building
perceptually well-spaced or colourblind-safe palettes with
`make_palette` and `make_palette_from_data`.
:::

::::

## Examples
Expand Down
Loading