title: Hello, I need to build a graphic with axis y in minutes:seconds:fractions of a seconds but I can't
body: <p>I have 7 storms with a time difference between IC (intracloud lightning) GC(lightning cloud ground) and I need to plot this time in a bar graph but I can't plot the minutes (y axis). Can someone help me?
  Some storms the difference is given by millisecond and I need to plot on x axis (storms) and y axis (time (minutes)).I'm trying to plot but the minutes are all zero</p>
  <p>These are my data:</p>
  <pre><code>Storms (1 2 3 4 5 6 7)
  time (00:00:00:131.73, 00:00:00:87.57, 00:03:23, 00:00:00:17.13, 00:08:23, 00:07:51, 00:40:41)
  </code></pre>
  <p>My code is like this:</p>
  <pre><code>import matplotlib.pyplot as plt
  import matplotlib.dates as dates
  from datetime import datetime, timedelta
  
  x = ['1','2','3','4','5','6','7']
  y = [00131.73, 087.57, 323, 1713, 823, 751, 4041]
  
  fig, ax = plt.subplots(figsize=(8, 5))
  plt.gca().yaxis.set_major_formatter(dates.DateFormatter('%M:%S.%f'))
  plt.bar(x, y)
  ax.set_title('a) Diferença de tempo entre o primeiro relâmpago IN e NS', fontsize=18)
  ax.set_ylabel('Tempo (minutos)', fontsize=14)
  ax.set_xlabel('Tempestades', fontsize=14)
  plt.gcf().autofmt_xdate()
  plt.show()
  </code></pre>
  <p>Current result:</p>
  <p><img src="https://i.stack.imgur.com/I90tz.png" alt="enter image description here" /></p>