From 39a735a319cbb9ca589f33f4c54899c1e6b1847d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Rivi=C3=A8re?= Date: Wed, 24 Sep 2025 16:15:09 +0200 Subject: [PATCH] fix pr reference per https://github.com/observablehq/plot/pull/2249/files/a71e397eb13b931182776494ea28450173ab23a2#r2372764568 --- docs/features/legends.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/legends.md b/docs/features/legends.md index 534334d6fc..b1e39f06da 100644 --- a/docs/features/legends.md +++ b/docs/features/legends.md @@ -76,7 +76,7 @@ Plot does not yet generate legends for the *r* (radius) scale or the *length* sc ## Legend options -If the **legend** [scale option](./scales.md#scale-options) is true, the default legend will be produced for the scale; otherwise, the meaning of the **legend** option depends on the scale: for quantitative color scales, it defaults to *ramp* but may be set to *swatches* for a discrete scale (most commonly for *threshold* color scales); for *ordinal* *color* scales and *symbol* scales, only the *swatches* value is supported. If the **legend* scale option is undefined, it will be inherited from the top-level **legend** plot option. +If the **legend** [scale option](./scales.md#scale-options) is true, the default legend will be produced for the scale; otherwise, the meaning of the **legend** option depends on the scale: for quantitative color scales, it defaults to *ramp* but may be set to *swatches* for a discrete scale (most commonly for *threshold* color scales); for *ordinal* *color* scales and *symbol* scales, only the *swatches* value is supported. If the **legend* scale option is undefined, it will be inherited from the top-level **legend** plot option.