plotnine.guides.guide_colorbar¶
- class plotnine.guides.guide_colorbar(**kwargs)[source]¶
Guide colorbar
- Parameters:
- barwidth
float
Width (in pixels) of the colorbar.
- barheight
float
Height (in pixels) of the colorbar. The height is multiplied by a factor of 5.
- nbin
int
Number of bins for drawing a colorbar. A larger value yields a smoother colorbar. Default is 20.
- rasterbool
Whether to render the colorbar as a raster object.
- ticksbool
Whether tick marks on colorbar should be visible.
- draw_ulimbool
Whether to show the upper limit tick marks.
- draw_llimbool
Whether to show the lower limit tick marks.
- direction
str
in
['horizontal', 'vertical']
Direction of the guide.
- kwargs
dict
Parameters passed on to
guide
- barwidth