guide_colorbar ¶
guide_colorbar(
title: str | None = None,
*,
barwidth: Number | None = None,
barheight: Number | None = None,
nbin: int | None = None,
) -> FeatureSpec
Show a colorbar for a continuous color or fill scale.
Parameters:
-
title(str, default:None) –Colorbar title.
-
barwidth(float, default:None) –Bar size in pixels.
-
barheight(float, default:None) –Bar size in pixels.
-
nbin(int, default:None) –Number of color segments (default 20).
Returns:
-
FeatureSpec–The guide.