plot: 1D and 2D Plot widgets¶
This package provides a set of Qt widgets for plotting curves and images.
The plotting API is inherited from the PyMca plot API and is mostly compatible with it.
Those widgets supports interaction (e.g., zoom, pan, selections).
List of Qt widgets:
PlotWidget: A widget displaying a single plot.
Plot1D: A widget with tools for curves.
Plot2D: A widget with tools for images.
ScatterView: A widget with tools for scatter plot.
ImageView: A widget with tools for images and a side histogram.
StackView: A widget with tools for a stack of images.
By default, those widget are using matplotlib.
They can optionally use a faster OpenGL-based rendering (beta feature),
which is enabled by setting the
backend argument to
when creating the widgets (See
For an introduction to the widgets of this package, see Getting started with plot widgets.
For examples of custom plot actions, see Adding custom plot actions.
See silx.gui.plot Widgets gallery.
Main plot widgets:
PlotWidget: Base class for plotting widgets
PlotWindow: Plot widget with toolbar
ComplexImageView: Plot a 2D array of complex
ImageView: Plot an image with side histograms
StackView: Plot a stack of images
ScatterView: Plot 2D scatter data
CompareImages: Plot 2 images to compare them
Classes describing plot content:
Additionnal plot tool widgets:
actions: Actions for PlotWidget
PlotToolButtons: QToolButtons for plot widgets
tools: Tool widgets for PlotWidget
ColorBar: ColorBar Widget
Profile: Toolbars with profile tools
CurvesROIWidget: ROI from curves
PrintPreviewToolButton: Print preview buttons
StatsWidget: Display a set of statictics for plot items
ROIStatsWidget: Display a set of statistics for couples (plot items, roi)
stats: Stats for PlotWidget