XVFB on Windows Subsystem for Linux

sudo apt install xvfb

then add to your ~/.bashrc

Xvfb :99 &
export DISPLAY=:99

This allows creating windows (say, Python Matplotlib figures) without having an actual X11 server.

or, install Xming X11 server for WSL