Reputation: 31
I'm using the Microsoft Python extension for Visual Studio Code which since June supports a plot viewer with the Python Interactive window. I'm trying (with no success) to make interactive plots with matplotlib in vscode as I do in Jupyter Notebook using the magic code %matplotlib notebook
at the top of the code, in order to use the data zoom cursor and the data tracker as I show in the next image:
https://i.sstatic.net/avMuq.png
Is there any way to use the plot viewer to show interactive plots?
Upvotes: 3
Views: 4537
Reputation: 3097
I'm a developer on this tool. Currently the plot viewer is just a raw png / svg viewer, interactive plots are not supported. If you wanted to file an issue on this you could on our GitHub here: https://github.com/Microsoft/vscode-python
Upvotes: 2