title: TypeError: scatter() got multiple values for argument 's' (Plot Logistic Regression)
body: <p>I am trying to plot a decision boundary for logistic regression but i got this error  :</p>
  <p><strong>TypeError: scatter() got multiple values for argument 's'</strong></p>
  <p>Here is my code :</p>
  <pre><code>logreg = LogisticRegression()
  logreg.fit(X_train,y_train)
  
  b = logreg.intercept_[0]
  w1, w2 = logreg.coef_.T
  c = -b/w2
  m = -w1/w2
  
  # Plot the data and the classification with the decision boundary.
  xmin, xmax = -1, 2
  ymin, ymax = -1, 2.5
  xd = np.array([xmin, xmax])
  yd = m*xd + c
  plt.plot(xd, yd, 'k', lw=1, ls='--')
  plt.fill_between(xd, yd, ymin, color='tab:blue', alpha=0.2)
  plt.fill_between(xd, yd, ymax, color='tab:orange', alpha=0.2)
  
  plt.scatter(*X[y==0].T, s=8, alpha=0.5)
  plt.scatter(*X[y==1].T, s=8,  alpha=0.5)
  plt.xlim(xmin, xmax)
  plt.ylim(ymin, ymax)
  plt.show()
  </code></pre>
  <p>Since i am a beginner i would also like to know if there is possibility to plot my logistic regression including all features or something else (2 most important features). I had to choose only 2 columns here.</p>
  <p><strong>EDIT</strong> : I also got this error :</p>
  <p><strong>TypeError: scatter() takes from 2 to 13 positional arguments but 1715 were given</strong></p>
  <p>For your information :</p>
  <pre><code>X = df
  X = X.drop(columns=['answer']) #features
  y = df['answer'] #target 
  X.shape # (4948, 2)
  y.shape # (4948,)
  X[y==0].shape # (1715,2)
  </code></pre>
  <p>Any help would be appreciated ! Thanks.</p>