You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import datetime as dt
import numpy as np
from lets_plot import *
LetsPlot.setup_html()
n = 31
np.random.seed(42)
d = [dt.datetime(2021, 1, 1) + dt.timedelta(days=d)
for d in range(n)]
t = np.random.normal(loc=-5, scale=6, size=n)
p = ggplot({'d': d, 't': t}, aes('d', 't')) + geom_histogram(stat='identity')
p
Change the x title using labs() function:
p + labs(x="Date")
The text was updated successfully, but these errors were encountered:
Example:
Change the
x
title usinglabs()
function:p + labs(x="Date")
The text was updated successfully, but these errors were encountered: