Merge tag 'v5.54' into develop
hotfix
This commit is contained in:
@@ -2038,7 +2038,7 @@ def dataprep(rowdatadf, id=0, bands=True, barchart=True, otwpower=True,
|
|||||||
if barchart:
|
if barchart:
|
||||||
# time increments for bar chart
|
# time increments for bar chart
|
||||||
time_increments = rowdatadf.ix[:, ' ElapsedTime (sec)'].diff()
|
time_increments = rowdatadf.ix[:, ' ElapsedTime (sec)'].diff()
|
||||||
time_increments[0] = time_increments[1]
|
time_increments.ix[0] = time_increments.ix[1]
|
||||||
time_increments = 0.5 * time_increments + 0.5 * np.abs(time_increments)
|
time_increments = 0.5 * time_increments + 0.5 * np.abs(time_increments)
|
||||||
x_right = (t2 + time_increments.apply(lambda x: timedeltaconv(x)))
|
x_right = (t2 + time_increments.apply(lambda x: timedeltaconv(x)))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user