I am trying to plot some scientific data by using Matplotlib in terminal. here is my simple code :
import matplotlib.pyplot as plt
plt.plot([1,2,3],[3,2,5])
plt.show(block=True)
But I can't see any graph on my linux. I am using wsl on windows for linux. debian is my linux.
The link below doesn't help my problem: Matplotlib plots aren't shown when running file from bash terminal
as you see I set block to True and nothing! for now I am using plt.savefig() function to see my result in windows. may be I need to install some software in my Linux for image viewer , no?
thank you