title: How to plot logistic regression model result ( sigmoid ) in python
body: <p>I'm trying to plot my logistic regression model into sigmoid using python : </p>
  
  <p>so my dataframe have <code>df['predict','actual']</code> where actual is (0,1) and predict is probability of being 1 ... I can plot scatter plot , but I could not figure it could how to get S-shape for sigmoid in python .. any recommendation ? </p>
  
  <p><img src="https://i.stack.imgur.com/Cmo93.jpg" alt="enter image description here"></p>
  
  <p>Is there a function ? I could not find one .. thanks</p>