As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
def interactive_histogram(df,col,n_bins,bin_range,title,x_axis_label,x_tooltip): | |
"""Plot interactive histogram using bokeh. | |
df: pandas dataframe | |
col: column of panda dataframe to plot (eg. age of users) | |
n_bins: number of bins, e.g. 9 | |
bin_range: list with min and max value. e.g. [10,100] age of users. | |
title: title of plot. e.g. 'Airnb Users Age Distribution' | |
x_axis_label: x axis label. e.g. 'Age (years)'. | |
x_tooltip: x axis tooltip string. e.g. 'Age' |