pijyoi
pijyoi
Implementation with a small palette of 256 colors. ```python import time import itertools import numpy as np import pyqtgraph as pg from pyqtgraph.Qt import QtCore, QtGui if pg.Qt.QT_LIB.startswith('PyQt'): wrapinstance =...
Would the first plot of ```examples/ColorGradientPlots.py``` serve your needs?
```python import numpy as np import pyqtgraph as pg pg.mkQApp() pw = pg.PlotWidget() pw.show() cm = pg.ColorMap([0.0, 1.0], ['r', 'g']) pen = cm.getPen( span=(49.95,50.05), width=5 ) pw.plot(100 * np.sin(2*np.pi*1.0*np.linspace(0, 1,...
I have a minimum example here that will trigger the exception on that you listed on 0.12.3 if you uncomment the "wrong syntax" line. Each second element of the tuple...
Hello, I can confirm seeing the artifacts that you mentioned. The artifacts seem to arise from your use of ```useOpenGL``` and ```enableExperimental```, probably related to the ```GL_STENCIL_TEST``` code in ```PlotCurveItem```....
Besides the plotting artifacts that you mentioned, there is another one that I found. Using number of seconds elapsed since the epoch results in a 10-digit offset being added to...
Could you provide a short runnable example to show what doesn't work for you? Otherwise you could check the provided example: https://github.com/pyqtgraph/pyqtgraph/blob/master/pyqtgraph/examples/GLMeshItem.py
As a workaround, you could pass in a dictionary. ```python my_pen = dict(color='y', width=1, style=QtCore.Qt.PenStyle.DashLine) ```
I noticed that many of the existing examples have lost their axis display on this PR.
>Oh right and alternatively if we did want to hack around requiring Signal to be defined at class compile time we can use this recipe for Signal implemented as python...