vscode-dvc icon indicating copy to clipboard operation
vscode-dvc copied to clipboard

Not showing custom plots on VSCode

Open carlos-serrouya opened this issue 9 months ago • 5 comments

Issue: dvclive.log_plot Plots Not Loading in DVC UI

Hi everyone,

I've implemented a model evaluation pipeline that will be integrated into our team's model release process. However, I'm running into an issue where plots created using dvclive.log_plot do not load in the DVC VSCode UI.

Steps to Reproduce

  1. Generate plots using dvclive.log_plot(...).
  2. Select the experiment in the DVC extension.
  3. Click on "Show Plots".
  4. The UI remains stuck on "Loading plots..." indefinitely.

What Works

When I manually run:

dvc plots show

and compile the generated HTML file, the plots display correctly. This suggests that dvclive is correctly saving the plots, but the DVC UI isn't rendering them properly.

Question

Has anyone else encountered this issue? Any insights into why DVC UI fails to load the plots while dvc plots show works fine?

Thanks in advance!

carlos-serrouya avatar Mar 20 '25 22:03 carlos-serrouya

Hi, yeah I'm facing the same problem. It freezes at loading plot. Only "dvc plots show" works for now.

FarraenElysia avatar Mar 26 '25 02:03 FarraenElysia

I'm also having the same issue, can't open any plots anymore via the extension.

RaW-Git avatar Jun 16 '25 12:06 RaW-Git

Could someone open a developer tools (similar to web browser) and share the log from it when the plots UI open?

shcheklein avatar Jun 16 '25 17:06 shcheklein

These are the lines printed in the console when I open the DVC Extension and click on "Show Plots" and also if I do "Refresh Plots ...": vscode-app-1750153684710.log

And just as a reference, here's how the Plot window looks (it stays empty, also if I do "Refresh Plots"): Image

RaW-Git avatar Jun 17 '25 09:06 RaW-Git

I actually noticed, that when you leave the window open for > 10min or so, it actually shows the plots. Here's the log file, after it finally opened the plot:

vscode-app-1750155832316.log

RaW-Git avatar Jun 17 '25 10:06 RaW-Git