Bug 1506244 - Problem with graphic backends in spyder
Summary: Problem with graphic backends in spyder
Keywords:
Status: CLOSED DUPLICATE of bug 1502871
Alias: None
Product: Fedora
Classification: Fedora
Component: spyder
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mukundan Ragavan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-25 13:31 UTC by jakob.jakobson18
Modified: 2017-10-26 22:15 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-10-26 22:15:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Modified tmp.py file (143 bytes, text/plain)
2017-10-25 13:36 UTC, jakob.jakobson18
no flags Details
Screenshot of the graphics window (9.61 KB, image/png)
2017-10-25 13:43 UTC, jakob.jakobson18
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1502871 0 unspecified CLOSED Spyder - No module named 'matplotlib.backends.backend_qt4agg' 2021-02-22 00:41:40 UTC

Internal Links: 1502871

Description jakob.jakobson18 2017-10-25 13:31:48 UTC
Description of problem:
After I messed up my spyder3 installation by installing various packages (in an attend to solve bug 1502871), I ended up with an unusable graphic backend "Tkinter".


Version-Release number of selected component (if applicable):
python3-spyder.noarch                   3.2.2-1.fc26                    @updates


How reproducible:
On my system it's very reproducible.

Steps to Reproduce:
1. Install lots of things.
2. Reset spyder3 to its default settings.
3. Set tmp.py in ~/.local/spyder-py3 to the tmp.py file of the attachment.
4. Select the graphic backend "Tkinter" from Tool -> Preferences -> IPython Console -> Graphics tab - Backend selection [Tkinter]
5. Run tmp.py file.


Actual results:
The tmp.py file runs and the graphic window opens but no graphic is drawn.

Expected results:
Spyder3 shows the expected graphic.


Additional info:
Sorry that I'm filing so many bugs this afternoon but if you need further information, just say it.

Comment 1 jakob.jakobson18 2017-10-25 13:36:11 UTC
Created attachment 1343263 [details]
Modified tmp.py file

Comment 2 jakob.jakobson18 2017-10-25 13:43:32 UTC
Created attachment 1343277 [details]
Screenshot of the graphics window

>
> Actual results:
> The tmp.py file runs and the graphic window opens but no graphic is drawn.
>

This is the actual graphic window.

Comment 3 Mukundan Ragavan 2017-10-25 18:18:49 UTC
I am sorry but I cannot reproduce most of these issues. I am able to plot using inline, gtk3 and tkinter. 

qt4 crashes, but I wonder if that has to do with spyder being compiled with QT5 completely. I might be wrong here.

qt5 plot opens but does not show anything - just like the screenshot in comment #2.

I wonder if this is a matplotlib-qt5 issue. Because, every other setting seems to work fine ...

Comment 4 Shadders 2017-10-26 20:00:08 UTC
Hi,
Set the relevant preferences to Tkinter, and receive the error :

ModuleNotFoundError: No module named 'matplotlib.backends.backend_qt4agg'

As per https://bugzilla.redhat.com/show_bug.cgi?id=1502871

Regards,
Shadders.

Comment 5 Mukundan Ragavan 2017-10-26 22:15:43 UTC
Let's keep the discussion in one place. :)

Closing this.

*** This bug has been marked as a duplicate of bug 1502871 ***


Note You need to log in before you can comment on or make changes to this bug.