title: How to change the linestyle of whiskers in pandas boxplots?
body: <p>Is there a way to change the linestyle of the whiskers in pandas boxplots to '-'? Default seems to be '--'.</p>
  
  <p>I have tried:</p>
  
  <pre><code>color = dict(boxes='black', whiskers='black', medians='red', caps='black')
  styles=dict(whiskers='-')
  bp = df.plot.box(color=color, style=styles)
  </code></pre>
  
  <p>However, while the colors turn out the way I want, the style input does not seem to affect the plot at all.</p>
  
  <p><a href="https://i.stack.imgur.com/nbuq8.png" rel="noreferrer">Here is an example. I always get dashed lines for my whiskers, but would like solid lines.</a></p>
  
  <p>I have also tried</p>
  
  <pre><code>boxprops = dict(linewidth=1.0, color='black')
  whiskerprops = dict(linestyle='-',linewidth=1.0, color='black')
  plt.figure()
  df.boxplot(boxprops=boxprops, whiskerprops=whiskerprops)
  </code></pre>
  
  <p>Here, df.boxplot does not take the inputs at all.</p>
  
  <p>This is closely related to
  <a href="https://stackoverflow.com/questions/35160956/pandas-boxplot-set-color-and-properties-for-box-median-mean">Pandas boxplot: set color and properties for box, median, mean</a></p>