diff --git a/python/.vscode/settings.json b/python/.vscode/settings.json
index 0aa228d228ea4d214a814f216df92d7b937a477f..fe7f2c71385295ff5bd1da76ff4fff9a5c89ea4c 100644
--- a/python/.vscode/settings.json
+++ b/python/.vscode/settings.json
@@ -8,6 +8,7 @@
   },
 
   "jupyter.interactiveWindow.textEditor.executeSelection": true,
+  "notebook.formatOnCellExecution": true, // Format cells on execution (better than formatting the whole file)
 
   // Python
   "[python]": {