title: Matplotlib with Jupyter Notebook doesnt draw plot but correct axis values
body: <p>I am trying to draw plots from a working code but plots doesnt appear to be working correctly. It actually draw x and y axises with correct values but actual plotting/graphic doesn't  appear. </p>
  
  <pre><code>import matplotlib.pyplot as plt
  %matplotlib inline
  plt.style.use('ggplot')
  
  
  plt.figure(figsize=(12,5))
  plt.title("Rewards")
  plt.bar(torch.arange(len(rewards_total)), rewards_total, alpha=0.6, color='green')
  plt.show()
  
  plt.figure(figsize=(12,5))
  plt.title("Steps / Episode length")
  plt.bar(torch.arange(len(steps_total)), steps_total, alpha=0.6, color='red')
  plt.show()
  
  plt.figure(figsize=(12,5))
  plt.title("Egreedy value")
  plt.bar(torch.arange(len(egreedy_total)), egreedy_total, alpha=0.6, color='blue')
  plt.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/TfaXb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TfaXb.png" alt="enter image description here"></a></p>