Skip to content

seanskggo/terminal-matplotlib-display

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Matplotlib Display

Personal environment setup tool (since WSL2 does not support X11 forwarding).

Directly display png files from matplotlib.pyplot outputs to terminal on WSL using X server (VcXsrv).

Setup

Download VcXsrv.

Create symbolic link to xlaunch.exe in x11/

cd x11/ && ln -s path_to_xlaunch.exe

Usage

Run

source check file.py

Make sure the graph is outputted as .png files in file.py

e.g. matplotlib.pyplot.savefig("image.png")

Result:

1

About

Personal customisation for machine learning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published