I wrote a script to display a histplot using seaborn and matplot. The python script is working fine when I run it on VS code. But when I run it using Linux terminal, the plot is not showing. I do not know what`s the problem here. My assignment requirement it to run the code through the terminal.
Here`s is the screenshot of the code on VS code:
Here`s the output of the code on terminal: