phaplt / winpython

Automatically exported from code.google.com/p/winpython
0 stars 0 forks source link

gcf() return different references. #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.install WinPython-64bit-3.3.2.1.exe    
2. open IPython QT Console
3. type the codes "gcf()"  many times

What is the expected output? What do you see instead?
The expected output should be the same since I did not create a new figure.
But the outputs were different:

gcf()
Out[1]: <matplotlib.figure.Figure at 0x65847f0>

gcf()
Out[2]: <matplotlib.figure.Figure at 0x65c5208>

gcf()
Out[3]: <matplotlib.figure.Figure at 0x65c5b70>

gcf()
Out[4]: <matplotlib.figure.Figure at 0x659b438>

What version of the product are you using? On what operating system?
I am using WinPython-64bit-3.3.2.1.exe on Win-7 64bit.

Please provide any additional information below.
Since the gcf() return different reference, the show() did not work. Nothing 
happened, no error message, after I called show(). I doubt the reason is that 
show() will plot the current figure while the reference of current figure might 
point to a new blank figure.

I also tried the same thing in the WinPython Interpreter.exe. It works!
And the gcf() returned the same reference.

Thanks for your response.

Original issue reported on code.google.com by manf...@gmail.com on 9 Jul 2013 at 3:41

GoogleCodeExporter commented 9 years ago
Seems like a bug to be reported to the IPython dev team.

Original comment by pierre.raybaut on 10 Aug 2013 at 12:20

GoogleCodeExporter commented 9 years ago
Seems like a bug to be reported to the IPython dev team.

Original comment by pierre.raybaut on 10 Aug 2013 at 12:20

GoogleCodeExporter commented 9 years ago
Is there anything I can help?

Original comment by manf...@gmail.com on 13 Aug 2013 at 1:53

GoogleCodeExporter commented 9 years ago
Yes, by reporting to the IPython team :-)

Original comment by pierre.raybaut on 13 Aug 2013 at 6:57