Vasilije, I tried that but I think that is not a problem.
Here is what I have tried and some of my conclusions:
1. *setDownsampling(ds=True, auto=False, mode='peak')* method should be
called only after creating PlotItem not after every plot()
2. attribute *auto *must be False, otherwise I have exception earlier
mention
3. I tried calling method *setClipToView(True) *also only after creating
PlotItem
(not after every plot) but no luck - same exception ("len(X) must be
len(Y)+1 since stepMode=True")
So downsampling just once and not using clip to view solves exception in
use case where I want to plot two PlotDataItem (one has stepMode=True,
other=False) on same PlotItem.
Also when I had exception there is also some ignored exceptions that
weren't by biggest problem but I would point that out.
On Wednesday, February 8, 2017 at 12:32:44 AM UTC+1, Vasilije Mehandzic
wrote:
>
>
> On Tue, Feb 7, 2017 at 5:38 PM, Marija Zupunski <[email protected]
> <javascript:>> wrote:
>
>> setClipToView
>
>
>
> Maybe to try wih *setClipToView(True)* without 'clip='?
>
--
You received this message because you are subscribed to the Google Groups
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyqtgraph/9639a623-d481-4b3a-b38d-080a0bad578a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.