plot_bar#

cinnabar.plotlying.plot_bar(df: DataFrame, ddg_cols: str, error_cols: str, exp_col: str = 'exp', exp_error_col: str = 'dexp', name_col: str = 'edge', title: str = '', filename: str | None = None)[source]#

Creates a plotly barplot. It takes a pandas.Dataframe df as input and plots horizontal bars grouping the values in the rows together. The columns which will be used are specified by ddg_cols (DDG values), error_cols (corresponding errors), exp_col (column with exp. values), exp_error_col (column with exp. errors) and name_col (column which will be used as y axis tick labels).