lets_plot.ylab

lets_plot.ylab(label)

Add label to the y axis.

Parameters

label (str) – The text for the y axis label.

Returns

Axis label specification.

Return type

FeatureSpec

Examples

1from lets_plot import *
2LetsPlot.setup_html()
3data = {'x': list(range(10)), 'y': list(range(10))}
4ggplot(data, aes('x', 'y')) + geom_point(aes(size='y')) + \
5    ylab('y axis label')