GUI package#

seispy.pickfigure module#

class seispy.pickfigure.RFFigure(rfpath, width=21, height=11, dpi=100, xlim=[- 2, 30])[source]#

Bases: matplotlib.figure.Figure

Attributes
axes

List of Axes in the Figure.

callbacks
dpi

The resolution in dots per inch.

frameon

Return the figure’s background patch visibility, i.e.

mouseover

Return whether this artist is queried for custom context information when the mouse cursor moves over it.

stale

Whether the artist is ‘stale’ and needs to be re-drawn for the output to match the internal state of the artist.

sticky_edges

x and y sticky edge lists for autoscaling.

Methods

add_artist(artist[, clip])

Add an .Artist to the figure.

add_axes(*args, **kwargs)

Add an Axes to the figure.

add_axobserver(func)

Whenever the Axes state change, func(self) will be called.

add_callback(func)

Add a callback function that will be called whenever one of the .Artist's properties changes.

add_gridspec([nrows, ncols])

Return a .GridSpec that has this figure as a parent.

add_subfigure(subplotspec, **kwargs)

Add a .SubFigure to the figure as part of a subplot arrangement.

add_subplot(*args, **kwargs)

Add an ~.axes.Axes to the figure as part of a subplot arrangement.

align_labels([axs])

Align the xlabels and ylabels of subplots with the same subplots row or column (respectively) if label alignment is being done automatically (i.e.

align_xlabels([axs])

Align the xlabels of subplots in the same subplot column if label alignment is being done automatically (i.e.

align_ylabels([axs])

Align the ylabels of subplots in the same subplot column if label alignment is being done automatically (i.e.

autofmt_xdate([bottom, rotation, ha, which])

Date ticklabels often overlap, so it is useful to rotate them and right align them.

clear([keep_observers])

Clear the figure.

clf([keep_observers])

[Discouraged] Alias for the clear() method.

colorbar(mappable[, cax, ax, use_gridspec])

Add a colorbar to a plot.

contains(mouseevent)

Test whether the mouse event occurred on the figure.

convert_xunits(x)

Convert x using the unit type of the xaxis.

convert_yunits(y)

Convert y using the unit type of the yaxis.

delaxes(ax)

Remove the ~.axes.Axes ax from the figure; update the current Axes.

draw(renderer)

Draw the Artist (and its children) using the given renderer.

draw_artist(a)

Draw .Artist a only.

draw_without_rendering()

Draw the figure with no output.

execute_constrained_layout([renderer])

[Deprecated] Use layoutgrid to determine pos positions within Axes.

figimage(X[, xo, yo, alpha, norm, cmap, ...])

Add a non-resampled image to the figure.

findobj([match, include_self])

Find artist objects.

format_cursor_data(data)

Return a string representation of data.

gca()

Get the current Axes.

get_agg_filter()

Return filter function to be used for agg filter.

get_alpha()

Return the alpha value used for blending - not supported on all backends.

get_animated()

Return whether the artist is animated.

get_axes()

List of Axes in the Figure.

get_children()

Get a list of artists contained in the figure.

get_clip_box()

Return the clipbox.

get_clip_on()

Return whether the artist uses clipping.

get_clip_path()

Return the clip path.

get_constrained_layout()

Return whether constrained layout is being used.

get_constrained_layout_pads([relative])

[Deprecated] Get padding for constrained_layout.

get_cursor_data(event)

Return the cursor data for a given event.

get_dpi()

Return the resolution in dots per inch as a float.

get_edgecolor()

Get the edge color of the Figure rectangle.

get_facecolor()

Get the face color of the Figure rectangle.

get_figheight()

Return the figure height in inches.

get_figure()

Return the .Figure instance the artist belongs to.

get_figwidth()

Return the figure width in inches.

get_frameon()

Return the figure's background patch visibility, i.e. whether the figure background will be drawn.

get_gid()

Return the group id.

get_in_layout()

Return boolean flag, True if artist is included in layout calculations.

get_label()

Return the label used for this artist in the legend.

get_linewidth()

Get the line width of the Figure rectangle.

get_mouseover()

Return whether this artist is queried for custom context information when the mouse cursor moves over it.

get_picker()

Return the picking behavior of the artist.

get_rasterized()

Return whether the artist is to be rasterized.

get_size_inches()

Return the current size of the figure in inches.

get_sketch_params()

Return the sketch parameters for the artist.

get_snap()

Return the snap setting.

get_tight_layout()

Return whether .tight_layout is called when drawing.

get_tightbbox([renderer, bbox_extra_artists])

Return a (tight) bounding box of the figure in inches.

get_transform()

Return the .Transform instance used by this artist.

get_transformed_clip_path_and_affine()

Return the clip path with the non-affine part of its transformation applied, and the remaining affine part of its transformation.

get_url()

Return the url.

get_visible()

Return the visibility.

get_window_extent([renderer])

Get the artist's bounding box in display space.

get_zorder()

Return the artist's zorder.

ginput([n, timeout, show_clicks, mouse_add, ...])

Blocking call to interact with a figure.

have_units()

Return whether units are set on any axis.

is_transform_set()

Return whether the Artist has an explicitly set transform.

legend(*args, **kwargs)

Place a legend on the figure.

pchanged()

Call all of the registered callbacks.

pick(mouseevent)

Process a pick event.

pickable()

Return whether the artist is pickable.

properties()

Return a dictionary of all the properties of the artist.

remove()

Remove the artist from the figure if possible.

remove_callback(oid)

Remove a callback based on its observer id.

savefig(fname, *[, transparent])

Save the current figure.

sca(a)

Set the current Axes to be a and return a.

set(*[, agg_filter, alpha, animated, ...])

Set multiple properties at once.

set_agg_filter(filter_func)

Set the agg filter.

set_alpha(alpha)

Set the alpha value used for blending - not supported on all backends.

set_animated(b)

Set whether the artist is intended to be used in an animation.

set_canvas(canvas)

Set the canvas that contains the figure

set_clip_box(clipbox)

Set the artist's clip .Bbox.

set_clip_on(b)

Set whether the artist uses clipping.

set_clip_path(path[, transform])

Set the artist's clip path.

set_constrained_layout(constrained)

[Deprecated] [Discouraged] Set whether constrained_layout is used upon drawing.

set_constrained_layout_pads(**kwargs)

[Deprecated] Set padding for constrained_layout.

set_dpi(val)

Set the resolution of the figure in dots-per-inch.

set_edgecolor(color)

Set the edge color of the Figure rectangle.

set_facecolor(color)

Set the face color of the Figure rectangle.

set_figheight(val[, forward])

Set the height of the figure in inches.

set_figure()

Set the .Figure instance the artist belongs to.

set_figwidth(val[, forward])

Set the width of the figure in inches.

set_frameon(b)

Set the figure's background patch visibility, i.e. whether the figure background will be drawn.

set_gid(gid)

Set the (group) id for the artist.

set_in_layout(in_layout)

Set if artist is to be included in layout calculations, E.g.

set_label(s)

Set a label that will be displayed in the legend.

set_layout_engine([layout])

Set the layout engine for this figure.

set_linewidth(linewidth)

Set the line width of the Figure rectangle.

set_mouseover(mouseover)

Set whether this artist is queried for custom context information when the mouse cursor moves over it.

set_path_effects(path_effects)

Set the path effects.

set_picker(picker)

Define the picking behavior of the artist.

set_rasterized(rasterized)

Force rasterized (bitmap) drawing for vector graphics output.

set_size_inches(w[, h, forward])

Set the figure size in inches.

set_sketch_params([scale, length, randomness])

Set the sketch parameters.

set_snap(snap)

Set the snapping behavior.

set_tight_layout(tight)

[Deprecated] [Discouraged] Set whether and how .tight_layout is called when drawing.

set_transform(t)

Set the artist transform.

set_url(url)

Set the url for the artist.

set_visible(b)

Set the artist's visibility.

set_zorder(level)

Set the zorder for the artist.

show([warn])

If using a GUI backend with pyplot, display the figure window.

subfigures([nrows, ncols, squeeze, wspace, ...])

Add a subfigure to this figure or subfigure.

subplot_mosaic(mosaic, *[, sharex, sharey, ...])

Build a layout of Axes based on ASCII art or nested lists.

subplots([nrows, ncols, sharex, sharey, ...])

Add a set of subplots to this figure.

subplots_adjust([left, bottom, right, top, ...])

Adjust the subplot layout parameters.

suptitle(t, **kwargs)

Add a centered suptitle to the figure.

supxlabel(t, **kwargs)

Add a centered supxlabel to the figure.

supylabel(t, **kwargs)

Add a centered supylabel to the figure.

text(x, y, s[, fontdict])

Add text to figure.

tight_layout(*[, pad, h_pad, w_pad, rect])

Adjust the padding between and around subplots.

update(props)

Update this artist's properties from the dict props.

update_from(other)

Copy properties from other to self.

waitforbuttonpress([timeout])

Blocking call to interact with the figure.

butnext

butprevious

enlarge

finish

get_default_bbox_extra_artists

get_layout_engine

get_path_effects

init_canvas

init_figure

init_variables

onclick

plot

plotbaz

plotwave

read_sac

reduce

set_page

set_ylabels

butnext()[source]#
butprevious()[source]#
enlarge()[source]#
finish()[source]#
init_canvas(order='baz')[source]#
init_figure(width=21, height=11, dpi=100)[source]#
init_variables()[source]#
onclick(event)[source]#
plot()[source]#
plotbaz()[source]#
plotwave()[source]#
read_sac(dt=0.1, order='baz')[source]#
reduce()[source]#
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, canvas=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, constrained_layout=<UNSET>, constrained_layout_pads=<UNSET>, dpi=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, figheight=<UNSET>, figwidth=<UNSET>, frameon=<UNSET>, gid=<UNSET>, in_layout=<UNSET>, label=<UNSET>, layout_engine=<UNSET>, linewidth=<UNSET>, mouseover=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, size_inches=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, tight_layout=<UNSET>, transform=<UNSET>, url=<UNSET>, visible=<UNSET>, zorder=<UNSET>)#

Set multiple properties at once.

Supported properties are

Properties:

agg_filter: a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array and two offsets from the bottom left corner of the image alpha: scalar or None animated: bool canvas: FigureCanvas clip_box: .Bbox clip_on: bool clip_path: Patch or (Path, Transform) or None constrained_layout: unknown constrained_layout_pads: unknown dpi: float edgecolor: color facecolor: color figheight: float figwidth: float frameon: bool gid: str in_layout: bool label: object layout_engine: unknown linewidth: number mouseover: bool path_effects: .AbstractPathEffect picker: None or bool or float or callable rasterized: bool size_inches: (float, float) or float sketch_params: (scale: float, length: float, randomness: float) snap: bool or None tight_layout: unknown transform: .Transform url: str visible: bool zorder: float

set_figure()[source]#

Set the .Figure instance the artist belongs to.

Parameters
fig.Figure
set_page()[source]#
set_ylabels()[source]#
class seispy.pickfigure.StaData(filenames, rrf, trf, baz, goodrf)[source]#

Bases: object

seispy.pickfigure.indexpags(evt_num, maxidx=20)[source]#

seispy.pickui module#

class seispy.pickui.MatplotlibWidget(rfpath, only_r=False, xlim=[- 2, 30], order='baz', parent=None)[source]#

Bases: PyQt5.QtWidgets.QMainWindow

Methods

DockOptions(...)

RenderFlags(...)

acceptDrops(self)

accessibleDescription(self)

accessibleName(self)

actionEvent(self, QActionEvent)

actions(self)

activateWindow(self)

addAction(self, QAction)

addActions(self, Iterable[QAction])

addDockWidget(addDockWidget)

addToolBar(-> None)

addToolBarBreak(self[, area])

adjustSize(self)

autoFillBackground(self)

backgroundRole(self)

baseSize(self)

blockSignals(self, bool)

centralWidget(self)

changeEvent(self, QEvent)

childAt(-> QWidget)

childEvent(self, QChildEvent)

children(self)

childrenRect(self)

childrenRegion(self)

clearFocus(self)

clearMask(self)

close(self)

closeEvent(self, QCloseEvent)

colorCount(self)

connectNotify(self, QMetaMethod)

contentsMargins(self)

contentsRect(self)

contextMenuEvent(self, QContextMenuEvent)

contextMenuPolicy(self)

corner(self, Qt.Corner)

create(self[, window, initializeWindow, ...])

createPopupMenu(self)

createWindowContainer(QWindow[, parent, flags])

cursor(self)

customContextMenuRequested

customContextMenuRequested(self, QPoint) [signal]

customEvent(self, QEvent)

deleteLater(self)

depth(self)

destroy(self[, destroyWindow, destroySubWindows])

destroyed

destroyed(self, object: QObject = None) [signal]

devType(self)

devicePixelRatio(self)

devicePixelRatioF(self)

devicePixelRatioFScale()

disconnect(-> bool disconnect)

disconnectNotify(self, QMetaMethod)

dockOptions(self)

dockWidgetArea(self, QDockWidget)

documentMode(self)

dragEnterEvent(self, QDragEnterEvent)

dragLeaveEvent(self, QDragLeaveEvent)

dragMoveEvent(self, QDragMoveEvent)

dropEvent(self, QDropEvent)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

effectiveWinId(self)

ensurePolished(self)

enterEvent(self, QEvent)

event(self, QEvent)

eventFilter(self, QObject, QEvent)

find(PyQt5.sip.voidptr)

findChild(-> QObject)

findChildren(...)

focusInEvent(self, QFocusEvent)

focusNextChild(self)

focusNextPrevChild(self, bool)

focusOutEvent(self, QFocusEvent)

focusPolicy(self)

focusPreviousChild(self)

focusProxy(self)

focusWidget(self)

font(self)

fontInfo(self)

fontMetrics(self)

foregroundRole(self)

frameGeometry(self)

frameSize(self)

geometry(self)

getContentsMargins(self)

grab(self[, rectangle])

grabGesture(self, Qt.GestureType, flags, ...)

grabKeyboard(self)

grabMouse(grabMouse)

grabShortcut(self, Union[QKeySequence, ...)

graphicsEffect(self)

graphicsProxyWidget(self)

hasFocus(self)

hasHeightForWidth(self)

hasMouseTracking(self)

hasTabletTracking(self)

height(self)

heightForWidth(self, int)

heightMM(self)

hide(self)

hideEvent(self, QHideEvent)

iconSize(self)

iconSizeChanged

iconSizeChanged(self, QSize) [signal]

inherits(self, str)

initPainter(self, QPainter)

inputMethodEvent(self, QInputMethodEvent)

inputMethodHints(self)

inputMethodQuery(self, Qt.InputMethodQuery)

insertAction(self, QAction, QAction)

insertActions(self, QAction, Iterable[QAction])

insertToolBar(self, QToolBar, QToolBar)

insertToolBarBreak(self, QToolBar)

installEventFilter(self, QObject)

isActiveWindow(self)

isAncestorOf(self, QWidget)

isAnimated(self)

isDockNestingEnabled(self)

isEnabled(self)

isEnabledTo(self, QWidget)

isFullScreen(self)

isHidden(self)

isLeftToRight(self)

isMaximized(self)

isMinimized(self)

isModal(self)

isRightToLeft(self)

isSeparator(self, QPoint)

isSignalConnected(self, QMetaMethod)

isVisible(self)

isVisibleTo(self, QWidget)

isWidgetType(self)

isWindow(self)

isWindowModified(self)

isWindowType(self)

keyPressEvent(self, QKeyEvent)

keyReleaseEvent(self, QKeyEvent)

keyboardGrabber()

killTimer(self, int)

layout(self)

layoutDirection(self)

leaveEvent(self, QEvent)

locale(self)

logicalDpiX(self)

logicalDpiY(self)

lower(self)

mapFrom(self, QWidget, QPoint)

mapFromGlobal(self, QPoint)

mapFromParent(self, QPoint)

mapTo(self, QWidget, QPoint)

mapToGlobal(self, QPoint)

mapToParent(self, QPoint)

mask(self)

maximumHeight(self)

maximumSize(self)

maximumWidth(self)

menuBar(self)

menuWidget(self)

metaObject(self)

metric(self, QPaintDevice.PaintDeviceMetric)

minimumHeight(self)

minimumSize(self)

minimumSizeHint(self)

minimumWidth(self)

mouseDoubleClickEvent(self, QMouseEvent)

mouseGrabber()

mouseMoveEvent(self, QMouseEvent)

mousePressEvent(self, QMouseEvent)

mouseReleaseEvent(self, QMouseEvent)

move(move)

moveEvent(self, QMoveEvent)

moveToThread(self, QThread)

nativeEvent(self, Union[QByteArray, bytes, ...)

nativeParentWidget(self)

nextInFocusChain(self)

normalGeometry(self)

objectName(self)

objectNameChanged

objectNameChanged(self, str) [signal]

overrideWindowFlags(self, ...)

overrideWindowState(self, ...)

paintEngine(self)

paintEvent(self, QPaintEvent)

paintingActive(self)

palette(self)

parent(self)

parentWidget(self)

physicalDpiX(self)

physicalDpiY(self)

pos(self)

previousInFocusChain(self)

property(self, str)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

raise_(self)

receivers(self, PYQT_SIGNAL)

rect(self)

releaseKeyboard(self)

releaseMouse(self)

releaseShortcut(self, int)

removeAction(self, QAction)

removeDockWidget(self, QDockWidget)

removeEventFilter(self, QObject)

removeToolBar(self, QToolBar)

removeToolBarBreak(self, QToolBar)

render(, sourceRegion, flags, ...)

repaint(...)

resize(resize)

resizeDocks(self, Iterable[QDockWidget], ...)

resizeEvent(self, QResizeEvent)

restoreDockWidget(self, QDockWidget)

restoreGeometry(self, Union[QByteArray, ...)

restoreState(self, Union[QByteArray, bytes, ...)

saveGeometry(self)

saveState(self[, version])

screen(self)

scroll(scroll)

sender(self)

senderSignalIndex(self)

setAcceptDrops(self, bool)

setAccessibleDescription(self, str)

setAccessibleName(self, str)

setAnimated(self, bool)

setAttribute(self, Qt.WidgetAttribute, on)

setAutoFillBackground(self, bool)

setBackgroundRole(self, QPalette.ColorRole)

setBaseSize(setBaseSize)

setCentralWidget(self, QWidget)

setContentsMargins(setContentsMargins)

setContextMenuPolicy(self, Qt.ContextMenuPolicy)

setCorner(self, Qt.Corner, Qt.DockWidgetArea)

setCursor(self, Union[QCursor, Qt.CursorShape])

setDisabled(self, bool)

setDockNestingEnabled(self, bool)

setDockOptions(self, ...)

setDocumentMode(self, bool)

setEnabled(self, bool)

setFixedHeight(self, int)

setFixedSize(setFixedSize)

setFixedWidth(self, int)

setFocus(setFocus)

setFocusPolicy(self, Qt.FocusPolicy)

setFocusProxy(self, QWidget)

setFont(self, QFont)

setForegroundRole(self, QPalette.ColorRole)

setGeometry(setGeometry)

setGraphicsEffect(self, QGraphicsEffect)

setHidden(self, bool)

setIconSize(self, QSize)

setInputMethodHints(self, ...)

setLayout(self, QLayout)

setLayoutDirection(self, Qt.LayoutDirection)

setLocale(self, QLocale)

setMask(setMask)

setMaximumHeight(self, int)

setMaximumSize(setMaximumSize)

setMaximumWidth(self, int)

setMenuBar(self, QMenuBar)

setMenuWidget(self, QWidget)

setMinimumHeight(self, int)

setMinimumSize(setMinimumSize)

setMinimumWidth(self, int)

setMouseTracking(self, bool)

setObjectName(self, str)

setPalette(self, QPalette)

setParent(setParent)

setProperty(self, str, Any)

setShortcutAutoRepeat(self, int[, enabled])

setShortcutEnabled(self, int[, enabled])

setSizeIncrement(setSizeIncrement)

setSizePolicy(setSizePolicy)

setStatusBar(self, QStatusBar)

setStatusTip(self, str)

setStyle(self, QStyle)

setStyleSheet(self, str)

setTabOrder(QWidget, QWidget)

setTabPosition(self, ...)

setTabShape(self, QTabWidget.TabShape)

setTabletTracking(self, bool)

setToolButtonStyle(self, Qt.ToolButtonStyle)

setToolTip(self, str)

setToolTipDuration(self, int)

setUnifiedTitleAndToolBarOnMac(self, bool)

setUpdatesEnabled(self, bool)

setVisible(self, bool)

setWhatsThis(self, str)

setWindowFilePath(self, str)

setWindowFlag(self, Qt.WindowType, on)

setWindowFlags(self, Union[Qt.WindowFlags, ...)

setWindowIcon(self, QIcon)

setWindowIconText(self, str)

setWindowModality(self, Qt.WindowModality)

setWindowModified(self, bool)

setWindowOpacity(self, float)

setWindowRole(self, str)

setWindowState(self, Union[Qt.WindowStates, ...)

setWindowTitle(self, str)

sharedPainter(self)

show(self)

showEvent(self, QShowEvent)

showFullScreen(self)

showMaximized(self)

showMinimized(self)

showNormal(self)

signalsBlocked(self)

size(self)

sizeHint(self)

sizeIncrement(self)

sizePolicy(self)

splitDockWidget(self, QDockWidget, ...)

stackUnder(self, QWidget)

startTimer(self, int[, timerType])

statusBar(self)

statusTip(self)

style(self)

styleSheet(self)

tabPosition(self, Qt.DockWidgetArea)

tabShape(self)

tabifiedDockWidgetActivated

tabifiedDockWidgetActivated(self, QDockWidget) [signal]

tabifiedDockWidgets(self, QDockWidget)

tabifyDockWidget(self, QDockWidget, QDockWidget)

tabletEvent(self, QTabletEvent)

takeCentralWidget(self)

testAttribute(self, Qt.WidgetAttribute)

thread(self)

timerEvent(self, QTimerEvent)

toolBarArea(self, QToolBar)

toolBarBreak(self, QToolBar)

toolButtonStyle(self)

toolButtonStyleChanged

toolButtonStyleChanged(self, Qt.ToolButtonStyle) [signal]

toolTip(self)

toolTipDuration(self)

tr(self, str[, disambiguation, n])

underMouse(self)

ungrabGesture(self, Qt.GestureType)

unifiedTitleAndToolBarOnMac(self)

unsetCursor(self)

unsetLayoutDirection(self)

unsetLocale(self)

update(update update update  -> None  -> None)

updateGeometry(self)

updateMicroFocus(self)

updatesEnabled(self)

visibleRegion(self)

whatsThis(self)

wheelEvent(self, QWheelEvent)

width(self)

widthMM(self)

winId(self)

window(self)

windowFilePath(self)

windowFlags(self)

windowHandle(self)

windowIcon(self)

windowIconChanged

windowIconChanged(self, QIcon) [signal]

windowIconText(self)

windowIconTextChanged

windowIconTextChanged(self, str) [signal]

windowModality(self)

windowOpacity(self)

windowRole(self)

windowState(self)

windowTitle(self)

windowTitleChanged

windowTitleChanged(self, str) [signal]

windowType(self)

x(self)

y(self)

DockOption

PaintDeviceMetric

RenderFlag

add_btn

enlarge

finish

initUi

next_connect

on_click

plot_save

plot_ui

previous_connect

reduce

add_btn()[source]#
enlarge()[source]#
finish()[source]#
initUi(rfpath, only_r, xlim, order='baz')[source]#
next_connect()[source]#
on_click(event)[source]#
plot_save()[source]#
plot_ui()[source]#
previous_connect()[source]#
reduce()[source]#
class seispy.pickui.MyMplCanvas(parent=None, rfpath='', only_r=False, width=21, height=11, dpi=100, xlim=[- 2, 30], order='baz')[source]#

Bases: matplotlib.backends.backend_qtagg.FigureCanvasQTAgg

Attributes
button_pick_id
callbacks
device_pixel_ratio

The ratio of physical to logical pixels used for the canvas on screen.

fixed_dpi
scroll_pick_id

Methods

RenderFlags(...)

acceptDrops(self)

accessibleDescription(self)

accessibleName(self)

actionEvent(self, QActionEvent)

actions(self)

activateWindow(self)

addAction(self, QAction)

addActions(self, Iterable[QAction])

adjustSize(self)

autoFillBackground(self)

backgroundRole(self)

baseSize(self)

blit([bbox])

Blit the canvas in bbox (default entire canvas).

blockSignals(self, bool)

buffer_rgba()

Get the image as a memoryview to the renderer's buffer.

button_press_event(x, y, button[, dblclick, ...])

[Deprecated] Callback processing for mouse button press events.

button_release_event(x, y, button[, guiEvent])

[Deprecated] Callback processing for mouse button release events.

changeEvent(self, QEvent)

childAt(-> QWidget)

childEvent(self, QChildEvent)

children(self)

childrenRect(self)

childrenRegion(self)

clearFocus(self)

clearMask(self)

close(self)

closeEvent(self, QCloseEvent)

close_event([guiEvent])

[Deprecated] Pass a CloseEvent to all functions connected to close_event.

colorCount(self)

connectNotify(self, QMetaMethod)

contentsMargins(self)

contentsRect(self)

contextMenuEvent(self, QContextMenuEvent)

contextMenuPolicy(self)

create(self[, window, initializeWindow, ...])

createWindowContainer(QWindow[, parent, flags])

cursor(self)

customContextMenuRequested

customContextMenuRequested(self, QPoint) [signal]

customEvent(self, QEvent)

deleteLater(self)

depth(self)

destroy(self[, destroyWindow, destroySubWindows])

destroyed

destroyed(self, object: QObject = None) [signal]

devType(self)

devicePixelRatio(self)

devicePixelRatioF(self)

devicePixelRatioFScale()

disconnect(-> bool disconnect)

disconnectNotify(self, QMetaMethod)

dragEnterEvent(self, QDragEnterEvent)

dragLeaveEvent(self, QDragLeaveEvent)

dragMoveEvent(self, QDragMoveEvent)

draw()

Render the figure, and queue a request for a Qt draw.

draw_event(renderer)

[Deprecated] Pass a DrawEvent to all functions connected to draw_event.

draw_idle()

Queue redraw of the Agg buffer and request Qt paintEvent.

dropEvent(self, QDropEvent)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

effectiveWinId(self)

ensurePolished(self)

enterEvent(self, QEvent)

enter_notify_event([guiEvent, xy])

[Deprecated] Callback processing for the mouse cursor entering the canvas.

event(self, QEvent)

eventFilter(self, QObject, QEvent)

find(PyQt5.sip.voidptr)

findChild(-> QObject)

findChildren(...)

flush_events()

Flush the GUI events for the figure.

focusInEvent(self, QFocusEvent)

focusNextChild(self)

focusNextPrevChild(self, bool)

focusOutEvent(self, QFocusEvent)

focusPolicy(self)

focusPreviousChild(self)

focusProxy(self)

focusWidget(self)

font(self)

fontInfo(self)

fontMetrics(self)

foregroundRole(self)

frameGeometry(self)

frameSize(self)

geometry(self)

getContentsMargins(self)

get_default_filename()

Return a string, which includes extension, suitable for use as a default filename.

get_default_filetype()

Return the default savefig file format as specified in :rc:`savefig.format`.

get_supported_filetypes()

Return dict of savefig file formats supported by this backend.

get_supported_filetypes_grouped()

Return a dict of savefig file formats supported by this backend, where the keys are a file type name, such as 'Joint Photographic Experts Group', and the values are a list of filename extensions used for that filetype, such as ['jpg', 'jpeg'].

get_width_height(*[, physical])

Return the figure width and height in integral points or pixels.

grab(self[, rectangle])

grabGesture(self, Qt.GestureType, flags, ...)

grabKeyboard(self)

grabMouse(grabMouse)

grabShortcut(self, Union[QKeySequence, ...)

grab_mouse(ax)

Set the child ~.axes.Axes which is grabbing the mouse events.

graphicsEffect(self)

graphicsProxyWidget(self)

hasFocus(self)

hasHeightForWidth(self)

hasMouseTracking(self)

hasTabletTracking(self)

height(self)

heightForWidth(self, int)

heightMM(self)

hide(self)

hideEvent(self, QHideEvent)

inaxes(xy)

Return the topmost visible ~.axes.Axes containing the point xy.

inherits(self, str)

initPainter(self, QPainter)

inputMethodEvent(self, QInputMethodEvent)

inputMethodHints(self)

inputMethodQuery(self, Qt.InputMethodQuery)

insertAction(self, QAction, QAction)

insertActions(self, QAction, Iterable[QAction])

installEventFilter(self, QObject)

isActiveWindow(self)

isAncestorOf(self, QWidget)

isEnabled(self)

isEnabledTo(self, QWidget)

isFullScreen(self)

isHidden(self)

isLeftToRight(self)

isMaximized(self)

isMinimized(self)

isModal(self)

isRightToLeft(self)

isSignalConnected(self, QMetaMethod)

isVisible(self)

isVisibleTo(self, QWidget)

isWidgetType(self)

isWindow(self)

isWindowModified(self)

isWindowType(self)

is_saving()

Return whether the renderer is in the process of saving to a file, rather than rendering for an on-screen buffer.

keyPressEvent(self, QKeyEvent)

keyReleaseEvent(self, QKeyEvent)

key_press_event(key[, guiEvent])

[Deprecated] Pass a KeyEvent to all functions connected to key_press_event.

key_release_event(key[, guiEvent])

[Deprecated] Pass a KeyEvent to all functions connected to key_release_event.

keyboardGrabber()

killTimer(self, int)

layout(self)

layoutDirection(self)

leaveEvent(self, QEvent)

leave_notify_event([guiEvent])

[Deprecated] Callback processing for the mouse cursor leaving the canvas.

locale(self)

logicalDpiX(self)

logicalDpiY(self)

lower(self)

manager_class

alias of matplotlib.backends.backend_qt.FigureManagerQT

mapFrom(self, QWidget, QPoint)

mapFromGlobal(self, QPoint)

mapFromParent(self, QPoint)

mapTo(self, QWidget, QPoint)

mapToGlobal(self, QPoint)

mapToParent(self, QPoint)

mask(self)

maximumHeight(self)

maximumSize(self)

maximumWidth(self)

metaObject(self)

metric(self, QPaintDevice.PaintDeviceMetric)

minimumHeight(self)

minimumSize(self)

minimumSizeHint(self)

minimumWidth(self)

motion_notify_event(x, y[, guiEvent])

[Deprecated] Callback processing for mouse movement events.

mouseDoubleClickEvent(self, QMouseEvent)

mouseEventCoords([pos])

Calculate mouse coordinates in physical pixels.

mouseGrabber()

mouseMoveEvent(self, QMouseEvent)

mousePressEvent(self, QMouseEvent)

mouseReleaseEvent(self, QMouseEvent)

move(move)

moveEvent(self, QMoveEvent)

moveToThread(self, QThread)

mpl_connect(s, func)

Bind function func to event s.

mpl_disconnect(cid)

Disconnect the callback with id cid.

nativeEvent(self, Union[QByteArray, bytes, ...)

nativeParentWidget(self)

new_manager(figure, num)

Create a new figure manager for figure, using this canvas class.

new_timer([interval, callbacks])

Create a new backend-specific subclass of .Timer.

nextInFocusChain(self)

normalGeometry(self)

objectName(self)

objectNameChanged

objectNameChanged(self, str) [signal]

overrideWindowFlags(self, ...)

overrideWindowState(self, ...)

paintEngine(self)

paintEvent(event)

Copy the image from the Agg canvas to the qt.drawable.

paintingActive(self)

palette(self)

parent(self)

parentWidget(self)

physicalDpiX(self)

physicalDpiY(self)

pick(mouseevent)

[Deprecated]

pick_event(mouseevent, artist, **kwargs)

[Deprecated] Callback processing for pick events.

pos(self)

previousInFocusChain(self)

print_figure(*args, **kwargs)

Render the figure to hardcopy.

print_jpeg(filename_or_obj, *args[, pil_kwargs])

Write the figure to a JPEG file.

print_jpg(filename_or_obj, *args[, pil_kwargs])

Write the figure to a JPEG file.

print_png(filename_or_obj, *args[, ...])

Write the figure to a PNG file.

print_tif(filename_or_obj, *[, pil_kwargs])

Write the figure to a TIFF file.

print_tiff(filename_or_obj, *[, pil_kwargs])

Write the figure to a TIFF file.

print_webp(filename_or_obj, *[, pil_kwargs])

Write the figure to a WebP file.

property(self, str)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

raise_(self)

receivers(self, PYQT_SIGNAL)

rect(self)

releaseKeyboard(self)

releaseMouse(self)

releaseShortcut(self, int)

release_mouse(ax)

Release the mouse grab held by the ~.axes.Axes ax.

removeAction(self, QAction)

removeEventFilter(self, QObject)

render(, sourceRegion, flags, ...)

repaint(...)

resize(w, h)

UNUSED: Set the canvas size in pixels.

resizeEvent(self, QResizeEvent)

resize_event()

[Deprecated] Pass a ResizeEvent to all functions connected to resize_event.

restoreGeometry(self, Union[QByteArray, ...)

saveGeometry(self)

screen(self)

scroll(scroll)

scroll_event(x, y, step[, guiEvent])

[Deprecated] Callback processing for scroll events.

sender(self)

senderSignalIndex(self)

setAcceptDrops(self, bool)

setAccessibleDescription(self, str)

setAccessibleName(self, str)

setAttribute(self, Qt.WidgetAttribute, on)

setAutoFillBackground(self, bool)

setBackgroundRole(self, QPalette.ColorRole)

setBaseSize(setBaseSize)

setContentsMargins(setContentsMargins)

setContextMenuPolicy(self, Qt.ContextMenuPolicy)

setCursor(self, Union[QCursor, Qt.CursorShape])

setDisabled(self, bool)

setEnabled(self, bool)

setFixedHeight(self, int)

setFixedSize(setFixedSize)

setFixedWidth(self, int)

setFocus(setFocus)

setFocusPolicy(self, Qt.FocusPolicy)

setFocusProxy(self, QWidget)

setFont(self, QFont)

setForegroundRole(self, QPalette.ColorRole)

setGeometry(setGeometry)

setGraphicsEffect(self, QGraphicsEffect)

setHidden(self, bool)

setInputMethodHints(self, ...)

setLayout(self, QLayout)

setLayoutDirection(self, Qt.LayoutDirection)

setLocale(self, QLocale)

setMask(setMask)

setMaximumHeight(self, int)

setMaximumSize(setMaximumSize)

setMaximumWidth(self, int)

setMinimumHeight(self, int)

setMinimumSize(setMinimumSize)

setMinimumWidth(self, int)

setMouseTracking(self, bool)

setObjectName(self, str)

setPalette(self, QPalette)

setParent(setParent)

setProperty(self, str, Any)

setShortcutAutoRepeat(self, int[, enabled])

setShortcutEnabled(self, int[, enabled])

setSizeIncrement(setSizeIncrement)

setSizePolicy(setSizePolicy)

setStatusTip(self, str)

setStyle(self, QStyle)

setStyleSheet(self, str)

setTabOrder(QWidget, QWidget)

setTabletTracking(self, bool)

setToolTip(self, str)

setToolTipDuration(self, int)

setUpdatesEnabled(self, bool)

setVisible(self, bool)

setWhatsThis(self, str)

setWindowFilePath(self, str)

setWindowFlag(self, Qt.WindowType, on)

setWindowFlags(self, Union[Qt.WindowFlags, ...)

setWindowIcon(self, QIcon)

setWindowIconText(self, str)

setWindowModality(self, Qt.WindowModality)

setWindowModified(self, bool)

setWindowOpacity(self, float)

setWindowRole(self, str)

setWindowState(self, Union[Qt.WindowStates, ...)

setWindowTitle(self, str)

set_cursor(cursor)

Set the current cursor.

sharedPainter(self)

show(self)

showEvent(self, QShowEvent)

showFullScreen(self)

showMaximized(self)

showMinimized(self)

showNormal(self)

signalsBlocked(self)

size(self)

sizeHint(self)

sizeIncrement(self)

sizePolicy(self)

stackUnder(self, QWidget)

startTimer(self, int[, timerType])

start_event_loop([timeout])

Start a blocking event loop.

statusTip(self)

stop_event_loop([event])

Stop the current blocking event loop.

style(self)

styleSheet(self)

switch_backends(FigureCanvasClass)

Instantiate an instance of FigureCanvasClass

tabletEvent(self, QTabletEvent)

testAttribute(self, Qt.WidgetAttribute)

thread(self)

timerEvent(self, QTimerEvent)

toolTip(self)

toolTipDuration(self)

tostring_argb()

Get the image as ARGB bytes.

tostring_rgb()

Get the image as RGB bytes.

tr(self, str[, disambiguation, n])

underMouse(self)

ungrabGesture(self, Qt.GestureType)

unsetCursor(self)

unsetLayoutDirection(self)

unsetLocale(self)

update(update update update  -> None  -> None)

updateGeometry(self)

updateMicroFocus(self)

updatesEnabled(self)

visibleRegion(self)

whatsThis(self)

wheelEvent(self, QWheelEvent)

width(self)

widthMM(self)

winId(self)

window(self)

windowFilePath(self)

windowFlags(self)

windowHandle(self)

windowIcon(self)

windowIconChanged

windowIconChanged(self, QIcon) [signal]

windowIconText(self)

windowIconTextChanged

windowIconTextChanged(self, str) [signal]

windowModality(self)

windowOpacity(self)

windowRole(self)

windowState(self)

windowTitle(self)

windowTitleChanged

windowTitleChanged(self, str) [signal]

windowType(self)

x(self)

y(self)

PaintDeviceMetric

RenderFlag

copy_from_bbox

drawRectangle

get_renderer

minumumSizeHint

print_raw

print_rgba

print_to_buffer

restore_region

seispy.pickui.main()[source]#