pygmi.raster.cliptozoom#
Clip to Zoom.
This module allows a raster dataset to be clipped to the current zoomed extents.
Classes#
Matplotlib canvas widget for the actual plot. |
|
Clip to zoom GUI Class. |
Module Contents#
- class pygmi.raster.cliptozoom.MyMplCanvas(parent=None)#
Bases:
matplotlib.backends.backend_qtagg.FigureCanvasQTAgg
Matplotlib canvas widget for the actual plot.
- Parameters:
parent (parent, optional) – Reference to the parent routine. The default is None.
- update_raster(data1, cmap)#
Update the raster plot.
- Parameters:
data1 (PyGMI raster Data) – raster dataset to be used in contouring
cmap (str) – Matplotlib colormap description
- Return type:
None.
- class pygmi.raster.cliptozoom.ClipToZoom(parent=None)#
Bases:
pygmi.misc.BasicModule
Clip to zoom GUI Class.
- Parameters:
parent (parent, optional) – Reference to the parent routine. The default is None.
- change_band()#
Combo box to choose band.
- Return type:
None.
- settings(nodialog=False)#
Run.
- Return type:
None.