Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a92039b

Browse files
committed
fixed naming bugs
1 parent c8fcc1a commit a92039b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/matplotlib/finance.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ def plot_day_summary2(ax, opens, closes, highs, lows, ticksize=4,
10401040
"or `plot_day_summary2_ohlc`, "
10411041
"which uses the open-high-low-close order. "
10421042
"This function will be removed in 1.5", mplDeprecation)
1043-
return plot_day_summary_ohlc(ax, opens, highs, lows, closes, ticksize,
1043+
return plot_day_summary2_ohlc(ax, opens, highs, lows, closes, ticksize,
10441044
colorup, colordown)
10451045

10461046

@@ -1077,7 +1077,7 @@ def plot_day_summary2_ochl(ax, opens, closes, highs, lows, ticksize=4,
10771077
a list of lines added to the axes
10781078
"""
10791079

1080-
return plot_day_summary_ohlc(ax, opens, highs, lows, closes, ticksize,
1080+
return plot_day_summary2_ohlc(ax, opens, highs, lows, closes, ticksize,
10811081
colorup, colordown)
10821082

10831083

@@ -1228,7 +1228,7 @@ def candlestick2_ochl(ax, opens, closes, highs, lows, width=4,
12281228
(lineCollection, barCollection)
12291229
"""
12301230

1231-
candlestick_ohlc(ax, opens, highs, closes, lows, width=width,
1231+
candlestick2_ohlc(ax, opens, highs, closes, lows, width=width,
12321232
colorup=colorup, colordown=colordown,
12331233
alpha=alpha)
12341234

@@ -1279,7 +1279,7 @@ def candlestick2(ax, opens, closes, highs, lows, width=4,
12791279
"which uses the open-high-low-close order."
12801280
"This function will be removed in 1.5", mplDeprecation)
12811281

1282-
candlestick_ohlc(ax, opens, highs, lows, closes, width=width,
1282+
candlestick2_ohlc(ax, opens, highs, lows, closes, width=width,
12831283
colorup=colorup, colordown=colordown,
12841284
alpha=alpha)
12851285

0 commit comments

Comments
 (0)