File size: 312 Bytes
c62089d
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import plotly.express as px


def plot_logistic_coeff_barh(df):
    fig = px.bar(data_frame=df, x="Value",
                 y="Coefficient", orientation="h")

    fig.update_layout(
        title="Logistic Regression Coefficients",
        xaxis_title="Value",
        yaxis_title="Coefficient",)
    return fig