Commit be52795
fix volume bar border colors when using make_marketcolors
When make_marketcolors() is called with custom volume colors, it
updates marketcolors['volume'] but leaves marketcolors['vcedge']
pointing to the old base style value. This causes the equality check
in plotting.py (mc['volume'] == mc['vcedge']) to fail, so the
auto-darkening logic for volume bar edges is skipped and the old
base style colors are used instead.
Fix by syncing vcedge with volume whenever volume colors are changed
in make_marketcolors().
Fixes #6761 parent 493811d commit be52795
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
349 | 355 | | |
350 | 356 | | |
351 | 357 | | |
| |||
0 commit comments