-
Notifications
You must be signed in to change notification settings - Fork 89
Closed
Description
I can't change PyPlot's backend from :tk to :qt5 after a fresh install:
bash> julia
julia> using PyCall
julia> pygui( :qt5 )julia> pyimport( "matplotlib" )
PyObject <module 'matplotlib' from '/home/simoes/.local/lib/python3.10/site-packages/matplotlib/init.py'>julia> pyimport( "PyQt5" )
PyObject <module 'PyQt5' from '/usr/lib64/python3.10/site-packages/PyQt5/init.py'>julia> using PyPlot
┌ Warning: No working GUI backend found for matplotlib
└ @ PyPlot ~/.julia/packages/PyPlot/NsAWt/src/init.jl:153
My configuration:
- OpenSuse tumbleweed.
- pyqt 5.15.7
- matplotlib 3.5.2
PS: PyQt5 backend works fine when directly called from python command prompt.
My installation steps are:
- rm -rf .julia to avoid old trash;
- open julia;
- define ENV[ "PYTHON"] = "/usr/bin/python3.10";
- add package PyCall;
- add package PyPlot;
- attempt to use as :tk success;
- restart julia
- include PyCall
- change backend to :qt5
- include PyPlot
- backend not available.
Any suggestions ?
Metadata
Metadata
Assignees
Labels
No labels