title: How to print matplotlib histogram coef logistic regression?
body: <p>I'm learning deep learning and I would like to print this histogram with matplotlib: 
  <a href="https://i.stack.imgur.com/qIh1l.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qIh1l.jpg" alt="enter image description here"></a></p>
  
  <p>from this code who print the data : </p>
  
  <pre><code>lr = LogisticRegression()
  lr.fit(X, y)
  print(lr.coef_)
  </code></pre>
  
  <p>who prints :</p>
  
  <pre><code>[[-0.150896    0.23357229  0.00669907  0.3730938   0.100852   -0.85258357]]
  </code></pre>
  
  <p>edit: 
  I tried the basic hist but I don't understand the output :</p>
  
  <p><code>plt.hist(lr.coef_) 
  plt.show()</code></p>
  
  <p>but i got : <a href="https://i.stack.imgur.com/zjAVR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zjAVR.jpg" alt="enter image description here"></a></p>