text
stringlengths
1
93.6k
with st.echo():
plost.event_chart(
data=datasets['events'],
x='time_delta_s',
y='servers')
""
with st.echo():
plost.event_chart(
data=datasets['events'],
x='time_delta_s',
y='servers',
color='servers',
legend=None)
"""
---
## Histograms
"""
"### hist()"
with st.expander('Documentation'):
st.write(plost.hist)
""
with st.echo():
plost.hist(
data=datasets['randn'],
x='a',
aggregate='count')
""
with st.echo():
plost.hist(
data=datasets['seattle_weather'],
x='date',
y='temp_max',
aggregate='median')
"---"
"### time_hist()"
with st.expander('Documentation'):
st.write(plost.time_hist)
""
with st.echo():
plost.time_hist(
data=datasets['seattle_weather'],
date='date',
x_unit='week',
y_unit='day',
color='temp_max',
aggregate='median',
legend=None,
)
"---"
"### xy_hist()"
with st.expander('Documentation'):
st.write(plost.xy_hist)
""
with st.echo():
plost.xy_hist(
data=datasets['randn'],
x='a',
y='b',
)
"---"
with st.echo():
plost.xy_hist(
data=datasets['randn'],
x='a',
y='b',
x_bin=dict(maxbins=20),
y_bin=dict(maxbins=20),
height=400,
)
"---"
"""
Woah, double histogram :rainbow:
"""
"### scatter_hist()"
with st.expander('Documentation'):
st.write(plost.scatter_hist)
""