microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.27k stars 279 forks source link

Move saving of plots into renderer extension & plot viewer as well #7572

Open DonJayamanne opened 2 years ago

DonJayamanne commented 2 years ago

Suggestion:

why?

Benefits

Draw back

Alternatively we could have the image renderers duplicated in jupyter extension (feels silly to do that, having duplicate renderers, confuses users)

amunger commented 1 year ago

seems rare that someone would have our renderer extension without having the jupyter extension

DonJayamanne commented 1 year ago

@

DonJayamanne commented 1 year ago

@amunger this is an issue for debt that reduces complexity in our code

seems rare that someone would have our renderer extension without having the jupyter extension

Yes i agree , and thats a great reason to move most of the plot viewer code into the renderer extension. This way we have far fewer dependencies, smaller code base in jujpyter.

So this issue is more about changes to the code structure of Jupyter, not UI changes. I.e. i think this is a very useful change (move stuff out of the extension into renderer), faster builds, easier CG, etc This is one less dependency on react in our code base as well

DonJayamanne commented 1 year ago

I'd like to keep this open so we can work on this , unless you disagree with the suggested change. I don't see any comments about why such a chagne (debt) items is not good, hence re-opening this