Looks as though vscode supports ipywidgets (https://github.com/microsoft/vscode-python/issues/3429). So you can use the ipympl backend to matplotlib.
To use it you can use the
%matplotlib ipympl magic.
CLICK HERE to find out more related problems solutions.