skip to Main Content

I don’t really like working in Jupyter enviroment and prefer raw Python. Is it posible to plot graphs directly in VSC via .py file? If I put my code to Jupyter cell in Jupyter file (.ipynp) the visualization works fine directly in VSC.

I use plotly or matplotlib, but i am willing to learn other packages if needed.

Is there for example some extencion to VSC that I could use? Or is it posible to plot to jpg/html file that I could open with file explorer?

Edit:
I made a newbie mistake. I didn’t use command plt.show() to plot the matplotlib graph.
But GNU plotter suggested by Charudatta is also great solution

2

Answers


  1. try GNU plotter works great for plotting

    Login or Signup to reply.
  2. I don’t think you can, you can’t display images in a terminal

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search