Invert 'c' (connection) array
In latest `pyqtgraph` it seems there's a discrepancy since `function.arrayToQPath()` was reworked and now we need to *not* connect the last point for each bar.windows_testing_volume
parent
1e20b1d4dd
commit
699e670363
|
@ -146,7 +146,7 @@ def path_arrays_from_ohlc(
|
||||||
# specifies that the first edge is never connected to the
|
# specifies that the first edge is never connected to the
|
||||||
# prior bars last edge thus providing a small "gap"/"space"
|
# prior bars last edge thus providing a small "gap"/"space"
|
||||||
# between bars determined by ``bar_gap``.
|
# between bars determined by ``bar_gap``.
|
||||||
c[istart:istop] = (0, 1, 1, 1, 1, 1)
|
c[istart:istop] = (1, 1, 1, 1, 1, 0)
|
||||||
|
|
||||||
return x, y, c
|
return x, y, c
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue