Plot Builder is a robust, visual VS Code extension that directly bridges into your active Jupyter Notebook's Python kernel space to visually generate complex pandas plotting code.
It provides a modern GUI sidebar to avoid the hassle of context-switching when looking up matplotlib or seaborn syntax properties.
Features
Zero Configuration: Natively interrogates your Jupyter Server memory limits.
Dynamic Variable Detection: Pulls any existing initialized dataframe schemas and handles dynamic axis filtering.
Production Generators: Spits out clean .melt() code matrices on multi-metric selections.
Security & Initialization Setup
[!IMPORTANT]
The Plot Builder leverages Microsoft's internal Notebook APIs to query variable schemas entirely transparently without throwing destructive cells into your workspace.
To enable this, you must explicitly whitelist the extension in your local environment.
Install the extension.
Open a Jupyter Notebook (.ipynb).
Press Ctrl+Shift+P and execute: Jupyter: Manage Access To Jupyter Kernels.
Check Plot Builder and hit OK.
Usage
Click the Graph icon in the Activity Bar to open the panel:
Hit Reload ↻ to index your notebook's variables.
Select your DataFrame.
Bind your X and Y-Axis parameters dynamically.
Hit Generate Code to inject a perfectly scaffolded matplotlib sequence dynamically right below your caret's focus.