yuxiaorui / pythonxy

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

matplotlibwidget.py -> MatplotlibWidget creates figure without figure manager #715

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It's not possible to set the axis instance of the matplotlib widget
as current pyplot axis (pyplot.sca()). It will raise an Exception
instead saying "Axis instance was not found in a figure"
So, as I was told, this is, because the Figure() is created not via pyplot, 
without using a figure manager.

See also this thread on Stackoverflow
http://stackoverflow.com/questions/20562582/axes-instance-argument-was-not-found
-in-a-figure

Example attached as on SO

If relevant, please answer to the following questions:
1. What version of Python(x,y) have you installed?
2.7.5.2

2. Which components have you installed (Python(x,y) installer:
componentpage):
    a. Have you selected the "Recommended" component selection?
    b. Have you selected the "Full" component selection?
c. Have you selected manually plugins in the component list?
Whatplugins?
-> Basically Recommended plus Cython, scikit-learn and some more

3. Have you selected the option "Customize installation directories"?
b. No

5. Where did you install Python(x,y) itself?
a. default path

6. Have you installed Python(x,y):
    b. For "All users"

7. What is your operating system?
c. Windows 7

8. Is the operating system 64 bit?
b. No

9. When you installed Python(x,y), were you logged in as :
b. an administrator of the machine

10. If you are using Windows Vista/7, have you installed Python(x,y):
a. simply by double-clicking on the installer

11. Regarding installed software on your machine, how did you clean your
machine before installing Python(x,y)  (multiple answers are possible):
a. you didn't do anything, you installed Python(x,y) directly on your
machine without precaution
b. you uninstalled any previous Python distribution (including the
official .msi)

Original issue reported on code.google.com by strohb...@gmail.com on 16 Jan 2014 at 3:48

Attachments: