Matplotlib plt.show() method does not pop out the window
<p>I have some problem with matplotlib's plt.show() method. When I run the following code, the plot is displayed inside IPython console. I am using Anaconda with Python 3.5 </p>

<pre><code>import matplotlib.pyplot as plt
import numpy as np
import csv

x = []
y = []

with open(r"F:\my_dir\example.txt", 'r') as csvfile:
    plots = csv.reader(csvfile, delimiter = ',')
    for row in plots:
        x.append(int(row[0]))
        y.append(int(row[1]))

plt.plot(x,y, label = 'Loaded from file')

plt.xlabel("x")
plt.ylabel("y")
plt.title("This is my plot")
plt.legend()

plt.show()
</code></pre>

<p>example.txt is as follows.</p>

<pre><code>1,3
2,6
3,1
4,8
5,9
6,2
7,9
8,5
9,4
10,17
</code></pre>

<p>I am also pasting the <code>matplotlibrc</code> file content <a href="http://paste.ofcode.org/3496QR3U8LgYfFXgzPpNMU8" rel="nofollow">here</a></p>

<p>The <code>plt.get_backend()</code> command on the console gives </p>

<blockquote>
  <p>'module://ipykernel.pylab.backend_inline'</p>
</blockquote>

<p>I want the script to pop out the plot window. This used to happen earlier but now it has stopped. Please help</p>