Skip to content

Rebase ...#1

Merged
dgoeries merged 48 commits intodgoeries:masterfrom
pyqtgraph:master
Oct 13, 2020
Merged

Rebase ...#1
dgoeries merged 48 commits intodgoeries:masterfrom
pyqtgraph:master

Conversation

@dgoeries
Copy link
Copy Markdown
Owner

No description provided.

edumur and others added 30 commits June 23, 2020 19:59
Make an example displaying more clearly the Item capability.
Correct few bugs in the Item class.
Improve overall comments.
Allow user to set the polygons edge color.
Allow PColorMeshItem to work with only one 2d array, a regular grid is then assume for the polygons vertices.
Improvement of comments.
the argument to qtimer.start should be an int not a float

the current code raises a deprecation warning with python 3.8
Fix deprecation warning in multiprocess module
Fix disconnect() in Flowchart with wrong receiver slot
DeprecationWarning is for invalid escape sequence ('\'). Decided to use
raw strings rather than double-backslashes because the text processing
is using raw strings anwyay.
Add targeted Vector test coverage
…ample

Consolidate and fix downsample factor computation in ImageItem
ixjlyons and others added 18 commits September 22, 2020 20:25
* Fix PlotItem.setAxisItems

- Use extend so visibleAxes remains a flat list.
- More robust logic for detecting adding an AxisItem instance to
  mulitple plots and suggest a workaround in the error message.

* Simplify membership check

* Add test for PlotItem setAxisitem logic
found a tiny typo when reading the docs...

thank you guys for this awesome library 🚀
Remove a few remaining mentions of the develop branch
This is something we're overriding in Orange3 (biolab/orange3#5007), as we change the symbols' alpha_value to show selected symbols. The default + and x symbols are too thin to show a noticeable change in alpha_value.

But I thought you might agree that the symbols look nicer this way.
ScatterPlotItem: Make + and x symbols thicker
Add a parameter "antialiasing".
Remove profiler
Add pyqtgraph mkPen
Implemented pColorMeshItem
GraphicsView: Set a transparent background palette
DataTreeWidget exception with multivalue Terminal (flowchart)
…1392)

* SignalProxy: Correct initialization without slot argument and provide tests

* Add missing slot is None case on disconnect

* Start new tests

* Exception block

* Test no module

* Different signal

* Debugging the signal connect

* Re initialize proxy after disconnect

* Add more test cases for blockSignal

* Change test case for signal count

* Give up for python 2 and pyside

* Exclude for Python 2.7 and PySide

* Convert float to integers in timer start period
* Add "lstep" and "rstep" step Modes

stepMode is currently either True or False. If it is True,
it requires the user to make len(x) = len(y)+1. This is
inconvenient because it makes it difficult to change the
stepMode on a given curve (just as one would change, e.g.,
its color).

This commit extends the current situation by introducing
two more step modes: "lstep" and "rstep", which do not require
passing an extra x value. In turn, this modes associate each
y value to either the left or the right boundary of the step.

For example, the "rstep" mode is handy when plotting "life"
digital signals in which x,y data pairs are appended as they
are read.

This commit does not modify the behaviour in case of stepMode=True

* Replace step mode names: lstep,rstep -> left,right

* Improve docs for stepMode

Reword docstring and add it to PlotDataItem class too

* Document left and right stepModes as added in v 0.12.0

TODO: confirm the exact version number to use here

* Add comments stress the need for "is True"

Some conditional statements in the code regarding stepMode are
done with "is True". This is actually required since other
possible values such as "left" also evaluate as true but should
not be caught.

* Deprecate boolean API for stepMode

Introduce stepMode="mid" as a replacement of stepMode=True,
but keeping full backwards compatibility with the old API.
Adapt docs, examples and tests accordingly.

* Raise ValueError on unsupported stepMode values

* Rename "mid" step mode to "center"

* Remove "added in 0.12.0" note

See #1360 (comment)

* Add deprecation warning when stepMode=True

Issue a DeprecationWarning if stepMode=True is being passed to the
constructor or setData() of PlotDataItem or PlotCurveItem.

Note: warnings module is imported locally so that it is esier to
remove once this check is no longer needed.

* Fix wrong syntax in last commit

Fix usage of "default" kwarg in dict.get()
@dgoeries dgoeries merged commit cb0e159 into dgoeries:master Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants