1/7/2024 0 Comments Jupyterlab variable inspectorRefresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).īy default, the jlpm run build command generates the source maps for this extension to make it easier to debug using the browser dev tools. With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. # Watch the source directory in one terminal, automatically rebuilding when needed You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension. # Rebuild extension Typescript source after making changes # Link your development version of the extension with JupyterLab variableinspector - Variable inspector extension that shows variables and their values. Id actually recommend renaming the current inspector to Help Browser to avoid this confusion in future. The actual inspector as implemented in JupyterLab would be more commonly referred to as a help browser. # Clone the repo to your local environment # Change directory to the lckr_jupyterlab_variableinspector directory # Install package in development mode topbar - Top Bar extension for JupyterLab. IME 'inspector' is always used to mean a variable inspector. The jlpm command is JupyterLab's pinned version of Note: You will need NodeJS to build the extension package. pip install lckr-jupyterlab-variableinspectorĪlternatively, one can install the extension from npmjs via: jupyter labextension install via the extension manager that comes built-in with Jupyterlab Contributing Development install Support for widgets in JupyterLab: jupyter labextension install The main way to install this extension is via pip as described below.The requirements for this functionality are: The variable inspector can also display Jupyter interactive widgets: Requirements for ipywidgets functionality tensorflow and keras to allow inspection of tf objects.pandas and numpy are required to enable matrix inspection.Therefore, opening large data frames with the datagrid viewer can dramatically increase your occupied memory and significantly slow down your browser. In order to allow variabale inspection, all content that is displayed first need to be sent from the kernel to the front end. This extension is currently targets python as a main language but also supports the following languages with different levels of feature completeness.Allows an inline and interactive inspection of Jupyter Widgets.Allows inspection of matrices in a datagrid-viewer.Allows inspection of variables for both consoles and notebooks.Jupyterlab extension that shows currently used variables and their values.Ĭontributions in any form are welcome! Features
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |