WSL Matplotlib Plot GUI
TL;DR Install VcXsrv. Install PyQT Add following to shellrc 1 export DISPLAY=`grep -oP "(?<=nameserver ).+" /etc/resolv.conf`:0.0 Open win firewall by: Windows Security -> Firewall & network protection -> Allow an app through firewall -> make sure VcXsrv has both public and private checked. (When Launching xlaunch first time, you might get a prompt to allow through firewall. Launch XLaunch with “Disable access control” ticked Reference Show matplotlib plots (and other GUI) in Ubuntu (WSL1 & WSL2)