Skip to content

Commit 4e21b9a

Browse files
committed
Merge remote-tracking branch 'matplotlib/v2.x'
2 parents f3b6c4e + 08e2520 commit 4e21b9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/finance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ def candlestick2_ochl(ax, opens, closes, highs, lows, width=4,
10511051
(lineCollection, barCollection)
10521052
"""
10531053

1054-
candlestick2_ohlc(ax, opens, highs, closes, lows, width=width,
1054+
candlestick2_ohlc(ax, opens, highs, lows, closes, width=width,
10551055
colorup=colorup, colordown=colordown,
10561056
alpha=alpha)
10571057

@@ -1139,8 +1139,8 @@ def candlestick2_ohlc(ax, opens, highs, lows, closes, width=4,
11391139
ax.autoscale_view()
11401140

11411141
# add these last
1142-
ax.add_collection(barCollection)
11431142
ax.add_collection(rangeCollection)
1143+
ax.add_collection(barCollection)
11441144
return rangeCollection, barCollection
11451145

11461146

0 commit comments

Comments
 (0)