Figure Explorer
Figure Explorer is a VS Code extension for browsing, searching, organizing, comparing, and navigating figures generated in Jupyter notebooks. When working with notebooks containing many plots, it can be difficult to keep track of which cell produced which figure. Figure Explorer collects figures from your open notebooks and provides a dedicated gallery for quickly browsing them, searching their contents, organizing them with tags, comparing figures, and jumping back to their source cells. Features
GalleryThe Gallery view provides a thumbnail overview of the figures available from the selected notebook or from all open notebooks. Selecting a figure displays a larger preview along with information about its source cell. The gallery can be searched and filtered without leaving the notebook workflow. The Gallery can be displayed in the Figure Explorer sidebar or opened in a dedicated editor tab. The editor gallery provides a larger workspace with the figure preview and thumbnail gallery displayed side by side. Gallery ScopeThe Gallery can switch between:
The Explorer and Gallery automatically update as notebooks are opened, modified, or closed. Figure TitlesYou can optionally give a figure a title by adding a
The title is displayed throughout Figure Explorer and can be used when searching for figures. Cells without an explicit figure title are automatically assigned a number such as TagsFigures can be assigned custom tags directly from Figure Explorer, or tags can be defined in the notebook source using a For example:
Multiple tags can be separated by commas:
Tags are displayed with the figure and can be used for searching and filtering. This makes it possible to organize figures according to their scientific content, purpose, redshift, analysis stage, or any other user-defined category. Tags assigned through Figure Explorer are stored as figure metadata and persist independently of the notebook output itself. SearchThe Gallery supports several structured search modes.
Find the figure generated by cell 12.
Find figure 5.
Search figure titles.
Search the source code associated with figures. You can also enter a general search term to search across the figure's notebook, title, source code, and tags. Figure ComparisonFigure Explorer includes a comparison mode for viewing multiple figures together. Figures can be selected from the gallery and opened in a dedicated comparison view. This allows related figures to be examined side by side without losing the normal gallery workflow. Comparison mode is particularly useful for comparing figures from different cells or notebooks, such as different redshifts, model configurations, parameter choices, or versions of a plot. ExplorerThe Figure Explorer activity-bar view provides an overview of the notebooks currently being tracked by the extension. Each notebook can be expanded to view a list of its discovered figures. The list is synchronized with the notebooks currently open in VS Code, so closing a notebook removes it from the Explorer automatically. This provides a convenient way to move between figures across multiple open notebooks. Figure NavigationThe Gallery supports keyboard navigation through the currently visible set of figures. Use the arrow keys to move between figures. Navigation follows the current filtered and searched gallery contents rather than the complete collection, making it possible to quickly move through a specific subset of figures. Double-clicking a thumbnail reveals the notebook cell that generated the selected figure. Saving and Exporting FiguresFigures can be saved directly from Figure Explorer as PNG files. Figures can also be exported as PDF files when a publication-ready or vector-based output is needed. Opening the Gallery in an EditorThe Gallery can be opened in a dedicated VS Code editor tab rather than the sidebar. Use the command: Figure Explorer: Open Gallery in Editor The editor gallery provides additional space for browsing figures and displays the large figure preview alongside the thumbnail gallery. Getting Started
Figure Explorer updates as notebook cells and outputs change, so you can continue working in your notebooks without manually rescanning them. Requirements
Current LimitationsFigure Explorer currently focuses on PNG image outputs generated by Jupyter notebooks. Other output types and image formats are not currently indexed by the figure scanner. FeedbackFigure Explorer is designed with scientific and data-analysis workflows in mind. Feedback, bug reports, and feature suggestions are welcome. The preferred way to report issues or suggest features is through the project's GitHub repository: GitHub: [figure-explorer/issues] When reporting a problem, please include:
Feature requests and workflow suggestions are also welcome. LicenseFigure Explorer is released under the MIT License. |