title: Plotting line on a clock
body: <p>I'm currently plotting a historgram on a clock in the following way:</p>
  <pre><code>import numpy as np
  import matplotlib.pyplot as plt
  import seaborn as sns
  sns.set_context('poster')
  sns.set_style('white')
  arr = np.random.randint(0, 24, size = 5000)
  N = 23
  bottom = 2
  
  # create theta for 24 hours
  theta = np.linspace(0.0, 2 * np.pi, N, endpoint=False)
  
  # make the histogram that bined on 24 hour
  radii, tick = np.histogram(arr, bins = 23)
  
  # width of each bin on the plot
  width = (2*np.pi) / N
  
  # make a polar plot
  plt.figure(figsize = (12, 8))
  ax = plt.subplot(111, polar=True)
  bars = ax.bar(theta, radii, width=width, bottom=bottom)
  
  # set the lable go clockwise and start from the top
  ax.set_theta_zero_location(&quot;N&quot;)
  # clockwise
  ax.set_theta_direction(-1)
  
  # set the label
  ticks = ['0:00', '3:00', '6:00', '9:00', '12:00', '15:00', '18:00', '21:00']
  ax.set_xticklabels(ticks)
  
  plt.show()
  </code></pre>
  <p>This results in the following figure.</p>
  <p><a href="https://i.stack.imgur.com/stlRW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/stlRW.png" alt="enter image description here" /></a></p>
  <p>Now I would like to change this so that it is no more a histogram but a line plot showing the mean per bin and a band for the 25 and 75 quantiles. Can this be done in such a clock plot?</p>