There was an error while loading. Please reload this page.
2 parents f3b6c4e + 08e2520 commit 4e21b9aCopy full SHA for 4e21b9a
1 file changed
lib/matplotlib/finance.py
@@ -1051,7 +1051,7 @@ def candlestick2_ochl(ax, opens, closes, highs, lows, width=4,
1051
(lineCollection, barCollection)
1052
"""
1053
1054
- candlestick2_ohlc(ax, opens, highs, closes, lows, width=width,
+ candlestick2_ohlc(ax, opens, highs, lows, closes, width=width,
1055
colorup=colorup, colordown=colordown,
1056
alpha=alpha)
1057
@@ -1139,8 +1139,8 @@ def candlestick2_ohlc(ax, opens, highs, lows, closes, width=4,
1139
ax.autoscale_view()
1140
1141
# add these last
1142
- ax.add_collection(barCollection)
1143
ax.add_collection(rangeCollection)
+ ax.add_collection(barCollection)
1144
return rangeCollection, barCollection
1145
1146
0 commit comments