-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce8b38c
commit 2d23168
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ | |
.. code-block:: python | ||
import sys | ||
from PyQt5 import QtWidgets | ||
from qtpy import QtWidgets | ||
import pyqtgraph as pg | ||
from dvg_pyqtgraph_threadsafe import HistoryChartCurve | ||
|
@@ -66,7 +66,7 @@ def __init__(self, parent=None, **kwargs): | |
window.tscurve_1.update() | ||
window.show() | ||
sys.exit(app.exec_()) | ||
sys.exit(app.exec()) | ||
""" | ||
__author__ = "Dennis van Gils" | ||
__authoremail__ = "[email protected]" | ||
|
@@ -439,20 +439,20 @@ class LegendSelect(QtCore.QObject): | |
attribute ``grid`` of type ``PyQt5.QtWidget.QGridLayout`` to be added to | ||
your GUI. | ||
The initial visibility, name and pen of each curve will be retrieved | ||
from the members within the passed curves, i.e.: | ||
* ``curve.isVisible()`` | ||
* ``curve.name()`` | ||
* ``curve.opts["pen"]`` | ||
Example grid:: | ||
□ Curve 1 [ / ] | ||
□ Curve 2 [ / ] | ||
□ Curve 3 [ / ] | ||
[ Show / Hide all] | ||
The initial visibility, name and pen of each curve will be retrieved | ||
from the members within the passed curves, i.e.: | ||
* ``curve.isVisible()`` | ||
* ``curve.name()`` | ||
* ``curve.opts["pen"]`` | ||
Args: | ||
linked_curves (``Sequence[pyqtgraph.PlotDataItem | ThreadSafeCurve]``): | ||
Sequence of ``pyqtgraph.PlotDataItem`` or ``ThreadSafeCurve`` | ||
|