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

Skip to content

Commit c5ccfbf

Browse files
committed
color of candlestick lines
the line of a candlestick should have the same color as the body (rectangle)
1 parent 3597917 commit c5ccfbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/finance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def candlestick(ax, quotes, width=0.2, colorup='k', colordown='r',
350350

351351
vline = Line2D(
352352
xdata=(t, t), ydata=(low, high),
353-
color='k',
353+
color=color,
354354
linewidth=0.5,
355355
antialiased=True,
356356
)

0 commit comments

Comments
 (0)