numeraire_graphics.scale_fill_numeraire#
- numeraire_graphics.scale_fill_numeraire(palette: str = 'okabe_ito', greyscale: bool = False, diverging: bool = False) Any[source]#
The
fillcounterpart ofscale_color_numeraire(), discrete or diverging.With
diverging=False(the default) this is the discrete Okabe-Ito fill scale for a categoricalfillaesthetic — the bars ofplot_metric_by()and any other grouped fill.greyscale=Truecollapses it to ordered greys for a monochrome print, matchingscale_color_numeraire().With
diverging=Trueit is a continuous two-sided fill centred at zero — the scale the weight heatmap wants, so a long (positive) and a short (negative) weight read as opposite hues with an unsaturated midpoint at zero. The endpoints are colourblind-safe (blue for negative, vermillion for positive);greyscale=Truegives a light-to-dark grey ramp through white.palettecurrently accepts only"okabe_ito".