Skip to content

Commit e712664

Browse files
authored
document scheme range (#561)
1 parent 45ed2e4 commit e712664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ The following sequential scale schemes are supported for both quantitative and o
315315
* <sub><img src="./img/warm.png" width="32" height="16" alt="warm"></sub> *warm*
316316
* <sub><img src="./img/cool.png" width="32" height="16" alt="cool"></sub> *cool*
317317

318-
The default color scheme, *turbo*, was chosen primarily to ensure high-contrast visibility; color schemes such as *blues* make low-value marks difficult to see against a white background, for better or for worse. If you wish to encode a quantitative value without hue, consider using *opacity* rather than *color* (e.g., use Plot.dot’s *strokeOpacity* instead of *stroke*).
318+
The default color scheme, *turbo*, was chosen primarily to ensure high-contrast visibility. Color schemes such as *blues* make low-value marks difficult to see against a white background, for better or for worse—set the *range* to a section of the default [0, 1] to restrict the colors. If you wish to encode a quantitative value without hue, consider using *opacity* rather than *color* (e.g., use Plot.dot’s *strokeOpacity* instead of *stroke*).
319319

320320
The following diverging scale schemes are supported:
321321

0 commit comments

Comments
 (0)