title: how to make a plot by repeating strings on x-axis in matplotlib?
body: <p>this is a bar graph.
  As you can see 'Real time' is twice. But while plotting it shows only once. I need to be as it is in the proj list. Please help.</p>
  <pre><code>import numpy as np
  import matplotlib.pyplot as plt
  
  proj=['Frank','GiftU','GiftUK','Int','Mon','Speed','PP','Real Time','Nan','Real Time','Swift']
  # proj_x = [i for i in range(len(proj))]
  prVal=[2.0,2.0,2.0,5.0,1.0,1.0,3.0,4.0,1.0,6.0,2.0]
  fig = plt.figure(figsize=(10, 5))
  
  # creating the bar plot 
  plt.bar(proj, prVal, color='maroon',
          width=0.4)
  
  plt.xlabel(&quot;gifts&quot;)
  plt.ylabel(&quot;Value&quot;)
  plt.title(&quot;Gift recieved&quot;)
  plt.show()
  </code></pre>