Plot gallery and source links

Find plots, insert them at their intended size, and keep their sources current.

11 min readFigures

Getting plots in

Plots reach a figure three ways: from the sidebar’s Plots rail, which keeps the gallery beside the canvas; from the full Plot gallery, a contact sheet for browsing a large plots/ tree; or by importing files and pasted images. Whichever way, every plot lands at its true physical size.

The Plots rail

The sidebar’s Plots view keeps your plots beside the canvas while you compose: the gallery on top, and below it the dissections of whichever plot you last clicked.

The Figure workspace with the sidebar in its Plots view: a gallery of plot tiles under folder headings, and below it a Dissections pane listing a summary table and a folder of panels for the selected plot.
The Plots view: folders are headings, ◆ marks an editable fluxplot, and the Dissections pane below follows the plot you last clicked. The dissections folder and its note here are illustrative. The figure on the canvas and the plot tiles come from the neuroscience showcase. Data and anatomy: Allen Institute for Brain Science and MICrONS. Visual credits.

Read a tile

Small marks on a tile tell you where a plot stands:

Rest the pointer on a plot for a moment to peek at it: a larger picture beside the rail with its full name and folder, its printed size (in inches, as for matplotlib’s figsize; Settings → Figure → Physical sizes switches Peek and the Inspector to millimetres) and width class, when it changed, where it is placed, its dissection folders, and why its tile has the background it has. If the plot’s ink would read poorly on the active figure’s background, Peek says so. Shift+Space peeks at the selected tile from the keyboard (and closes it again). Peek never takes clicks and vanishes when the pointer leaves the rail; ⋯ → Peek on hover turns the hover off.

Place a plot

Double-click a tile or press Enter to place the selected plots in the figure named at the top of the rail (→ Fig 3 — click it to pick another figure). Drag a plot onto any figure to place it where you let go; over the canvas it shows at the size it will land. Space opens a full-window preview. Ctrl+Z undoes a placement without leaving the rail. When the rail is too small for the job, Shift+Alt+G (also from the rail’s search box) opens the full gallery in its own window.

Rest on a tile to peek at it, then drag it onto a figure: it shows at the size it will land and arrives at its true printed size.

Dissections and notes beside the canvas

The lower pane shows the dissections of the plot you last clicked, in the gallery or on the canvas. Tables come first as small previews (a one-row statistics table reads as a list), then each folder of panels; very large folders show a few and Show all. If you were looking at a file (say by_subject/s07) and click another plot with the same file, it stays selected in the same place, so you can compare subjects plot to plot. Clicking an empty spot keeps the last plot showing; the pin keeps it while you click elsewhere. Double-click, Enter or Space opens a file in the full Dissect viewer; drag a panel onto a figure to place it. Plots from the global library show “Library plots have no dissections”: dissections belong to a project’s plots/_dissections/.

Notes lets you create and edit ordinary .txt companions. Switch the pane from Files to Notes and press + Note; a plot can have several named notes. They save as you type, and Ctrl+S saves now. The full Dissect viewer has the same Notes control. To search their contents across the project, switch on Notes beside the gallery search and type a word or tag such as #check; choose a match to select its plot and open the note here. If another writer changed a note, Flux keeps your draft and explains the conflict before replacing anything. See Dissections for the folder convention and the viewer.

Browse the full gallery

The toolbar’s Gallery button opens the full Plot gallery in place; Shift+Alt+G opens it in its own window, from anywhere. It shows SVG and PNG previews in the current folder, including GLB meshes marked 3D. Gallery lays plots out as the Plots rail does — rows of pages at each plot’s own shape, under a folder header — and each subfolder previews the first plots inside it, with a count. List shows one name per row. Adjust Size, Space and Names to make the contact sheet comfortable; Size reaches 800 px for large previews. Flux remembers these display choices.

Folders shows or collapses a directory tree. Clicking a folder shows what is in it, and the › arrow beside it expands or collapses its branches, so you can browse files without losing your picks. Clicking a gallery folder expands/collapses it, in Settings → Figure → Plot gallery, makes the click do both. The root button (plots or plot_library) returns to the top, and Up or Backspace goes to the parent folder.

◆ marks semantic plots and ◇ marks plain images; List also shows semantic and paper-snip badges. In Slides, the gallery also previews MP4/MOV clips: select Play video to play, pause, seek, or mute a clip in the full-window view (see 3D and video in slides).

Project and global plots

Project / Global at the top of the gallery (Proj / Glob in the Plots rail; Alt+1 / Alt+2 in both) switches between this project’s plots/ folder and your global plot library, the plot_library folder inside your FluxConfig folder (by default ~/FluxConfig/plot_library). Picks from both scopes can go in together.

Put plots you reuse everywhere in the global library, such as logos, schematics, reference panels and colour keys. Organise it with any folders you like, as you would a project’s plots/; Flux creates the folder the first time you open Global, and Open folder takes you there. The project keeps its own copy of every plot you insert, and a global plot stays linked to its file in the library, so regenerating it there updates it here on this machine. The global library holds SVG, PNG and GLB plots; video clips live in a project’s plots/_videos/.

Search, select and insert

By default, search reaches ordinary folders throughout the tree you are browsing. Search reaches, in Settings → Figure → Plot gallery, can widen or narrow that: everything in the scope you are browsing (the default), only the current folder and its subfolders, only project plots, only global plots, or everything in both. When results come from outside the scope you are browsing, each one is labelled Project or Global.

The reserved _dissections/ and _lighttable/ companion collections stay out of ordinary results. Type _ to list them and Enter to go in, or open them in Folders. Search then stays inside that collection until you leave it.

Click a plot, or press Enter or Space in an empty search box, to select it. Picks survive folder changes and searches. Ctrl+Enter, the Insert button, or a double-click inserts the selection.

Ctrl+click (⌘+click on macOS) a plot, or use Preview / F4, for a full-window view. Arrow keys browse adjacent plots; Escape returns to the gallery. Open Dissections or press D to inspect the plot’s companion groups and panels. Similar names finds filename variants across the current search scope, without selecting them; clear that filter to return to normal browsing.

Pin open moves the gallery into its own resizable window (Shift+Alt+G opens it there directly). Move it to another screen and keep arranging figures in the editor. The current folder and selection are preserved, and you can still browse the entire plots/ tree and the global library. Insertions leave the window open and use the figure named in its footer; successful insertions clear the submitted picks, ready for the next batch.

Dock returns the same gallery to the editor, and Alt+G brings an already pinned gallery forward. Refresh reloads files and previews. Preview columns adjust as you resize the pinned window, including while the editor is minimized. Closing the project also closes its gallery.

Import from files or the clipboard

Drag files in from your file manager (an SVG with its .fluxplot.json sibling imports as a semantic plot), use the toolbar’s Import button (Ctrl+Shift+K), or paste an image straight from the clipboard. A pasted image has no file behind it, so Flux keeps the original for you in plots/pasted/.

Everything imports at true physical size: a 6.4 × 4.8 inch plot lands exactly that big, never silently rescaled. If an import is larger than its figure frame, a notification says so; Ctrl+Shift+I brings the selection inside the frame (moving it, never resizing it). To change a plot’s size afterwards, see Resizing a plot.

Image stacks

A project .fluximg folder appears as one image-stack tile. Double-click it, press Enter, or drag it onto a saved figure. Its tile shows the image preview and dimensions. See Scientific images and stacks for source updates, channels, segmentation and linked insets.

Keeping linked sources current

Select a plot and press Alt+Shift+C to copy its full source path (with several plots selected, one path per line); Ctrl+K → Copy selected plot path does the same. A plot imported without a linked source copies the path of its saved SVG in the project.

Imported plots retain an accepted SVG and its semantic metadata in the project. When analysis regenerates a linked source, Flux updates that accepted bundle automatically, including changes only to a manifest or recipe. Figure, Paper, and Slides read the accepted version. Accepted copies also catch up with their sources when the project opens and before export. Styling overrides, figure identity, captions, and deliberate placement scale survive source updates.

The catalog’s Sources section shows Linked · current, Updating, Source missing, Update failed, or Frozen version. A missing or malformed source retains the last good version; the error explains what needs attention. Reload sources retries immediately. If a saved caption cannot be read, source refresh stops to preserve it. Restore access to the caption file, then retry Reload sources.

Relink… chooses a moved source. Freeze gives the selected figure an independent saved version; Resume updates links it again. These actions preserve the other figures’ links.

Used in lists manuscript references and slide copies that share source assets. Removing a referenced figure or canvas first shows these uses. Paper references then become unresolved; slide copies retain the assets they need. A slide copy has its own layout and annotations.

Search the docs

Search guides, workspaces, and reference topics.

↑ ↓ to move · Enter to open · Esc to close