fork download
  1. import matplotlib.pyplot as plt
  2.  
  3. movies = ['Annie Hall', 'Ben-Hur', 'Casablanca', 'Harry Potter', 'West Side Story']
  4. num_oscars = [5, 11, 3, 8, 10]
  5.  
  6. xs = [i + 0.1 for i,_ in enumerate(movies)]
  7. plt.bar(xs, num_oscars)
Success #stdin #stdout 0.67s 55252KB
stdin
Standard input is empty
stdout
Standard output is empty