Example gallery
Select a tile to see its description, screenshot, Python code, and GitHub source.
Add BandShow a mean tissue profile and its variation across replicate profiles.
Add bars and a legendShow vertical and horizontal bars with the canvas legend.
Categorical axesPlot numeric data with categorical labels on both axes.
Add CentroidsExample showing how to plot centroids.
Error barsShow asymmetric measurement intervals on calibration standards.
A few large linesExample showing how to plot multiple line sand adjust axis labels.
Add ImageDisplay a scalar image with physical axis labels and square pixels.
Add Line With ApexExample showing simple line and 'infinite' line to show the apex
Add Lines And SpanExample showing how to plot multiple line sand adjust axis labels.
Logarithmic axesPlot positive data using true logarithmic x and y axes.
Many infinite linesExample showing how to plot multiple line sand adjust axis labels.
Add MultilinePlot several related curves in one MultiLine layer.
Add Multiline With Different SizeExample showing how to use the MultiLine layer type.
Multiple infinite linesMultiple infinite lines in a single layer.
Multiple regionsMultiple infinite regions in a single layer.
Plot annotationsMark the baseline, peak, and integration window of a synthetic signal.
Points with labelsAdd points with text ====================
Add RectanglesDisplay mass spectrometry peak windows with center markers and labels.
Add ScatterUse the lasso drag tool to select and highlight scatter points.
Scatter with labelsAdd points with text ====================
Simple line plotsCompare two phase-shifted signals on a labeled 1D plot.
Summary plotsCompare stacked sensor output, an uneven-bin histogram, and horizontal bars.
Add TextAdd text annotations ====================
Add VectorsOverlay registration residuals on a synthetic image.
Custom tick formattingCustom formatter.
Edit plot layersPractice editing directly on a plot with the layer controls.
Export and restore a plotExport a synthetic profile as PNG, SVG, PDF, CSV, ROI, and a plot session.
Grid axes and colorbarsShare an inverted datetime axis across two cells with independent y axes and colorbars.
Live line updatesExample shows a sine wave `moving` over time..
Live updates for multiple linesExample showing how to use the MultiLine layer type.
Live scatter updatesExample shows a sin and cos scatter points moving over time.
Select DataDrag a box over the plot to collect indices from both selected layers.
Show Grid ModeShow each line in its own plot cell, with synchronized x/y ranges.
Show Layer TypesDisplay image and 1d plot.
Grouped bar plotsEstimate means and 95% confidence intervals with bootstrapping.
Letter-value plotsLetter-value (boxen) plots show more quantiles than a box plot for large samples.
Grouped box plotsCompare categories in long-form data using a seaborn-style layout.
Clustered heatmapHierarchically clustered heatmap with dendrograms drawn in the canvas margins.
DistributionsStacked histogram with KDE overlays, split by group.
Faceted plotsCompare measurements across batches with regression, distributions, or categories.
Annotated heatmapDisplay values from a pivoted DataFrame.
Kernel density plotsFilled kernel density estimates and a classic distplot-style rug.
Pair gridCompare ride distance, climbing, and duration across two cycling route types.
Relational plotsRelational plots: a scatter with hue/size/style semantics and an aggregated line with CI band.
Rug plotsOverlay hue-colored rug ticks along both axes of a scatter plot.
Styled distributionsCompare average response curves, a step histogram, and a normalized KDE.
Swarm plotsSwarm plot over a violin: every observation without overlap.
Split violin plotsCompare two hue levels within each category.
Embed a 1D plot in napariEmbed a 1D plot beneath napari and compare two profiles with uncertainty.
Compare channel profiles in napariCompare row profiles from two channels beside a napari image viewer.
Update profiles from napari line shapesUpdate docked intensity profiles while moving selected image lines.
Match plot colors to the napari themeEmbed a plot and switch the napari theme to see its axes and legend update.