GUI Module
This module contains the graphical user interface components of the PySide Demo application.
Submodules
window
home
data
map
graph
This module demonstrates 2D plotting capabilities in PyQtGraph
- Source:
This functionality is implemented from PyQtGraph example:
.venv/Lib/site-packages/pyqtgraph/examples/Plotting.pythat can also be accessed by running:
$ poetry run python -m pyqtgraph.examples
and selecting
Basic Plotting.
The module showcases various 2D plotting features available in pyqtgraph. All plots can be panned/scaled by dragging with left/right mouse buttons. Right-clicking on any plot displays a context menu.
Original source code was updated to pass mypy test.
- class pyside_demo.gui.graph.GraphWidget[source]
Bases:
QWidget- staticMetaObject = PySide6.QtCore.QMetaObject("GraphWidget" inherits "QWidget": )
- update() None[source]
- update(arg__1: QRect) None
- update(arg__1: QRegion | QBitmap | QPolygon | QRect) None
- update(x: int, y: int, w: int, h: int) None
update(self) -> None update(self, arg__1: PySide6.QtCore.QRect) -> None update(self, arg__1: Union[PySide6.QtGui.QRegion, PySide6.QtGui.QBitmap, PySide6.QtGui.QPolygon, PySide6.QtCore.QRect]) -> None update(self, x: int, y: int, w: int, h: int) -> None