title: How to change matplotlib backend setting?
body: <p>I'm using the Jupyter notebook for python 2 to write code. I change the backend of matplotlib in one notebook with the following code and get a GUI. </p>
  
  <pre><code>import matplotlib
  matplotlib.use('TkAgg')
  </code></pre>
  
  <p>When I create a new notebook with Jupyter, every time I plot a graph, a get a pop-up window. What do I need to do to get a the plotted graph within the notebook? I tried the following backend arguments:</p>
  
  <pre><code>matplotlib.use('Agg'/GTKAgg/Qt4Agg/WXAgg)
  </code></pre>
  
  <p>Here's my code of plot a graph：</p>
  
  <pre><code>import matplotlib
  matplotlib.use('GTKAgg')
  import matplotlib.pyplot as plt
  import pandas as pd
  
  dataframe = pd.DataFrame('ex0.csv')
  dataframe.plot()
  plt.show()
  </code></pre>