Skip to content

Commit 5030668

Browse files
committed
remove unneeded comment and unused variable
1 parent 4b9c8c0 commit 5030668

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/mplfinance/_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,13 @@ def renko_reformat_ydata(ydata, dates, old_dates):
103103
outputs for the user as the xaxis does not scale evenly with dates.
104104
Missing dates ydata is averaged into the next date and dates that appear
105105
more than once have the same ydata
106-
ydata : y data likely coming from addplot
106+
ydata : y data
107107
dates : x-axis dates for the renko chart
108108
old_dates : original dates in the data set
109109
"""
110110
new_ydata = [] # stores new ydata
111111
prev_data = 0
112112
skipped_dates = 0
113-
count_skip = 0
114113
for i in range(len(ydata)):
115114
if old_dates[i] not in dates:
116115
prev_data += ydata[i]

0 commit comments

Comments
 (0)