matplotlib / matplotlib/mplfinance

Bar colors question

Open
#320 6 comments 0 reactions 0 assignees View on GitHub
enhancement hacktoberfest question
Dominant language
Python
Stars
4.4k
Forks
678
PR merge metrics
No merged PRs in 30d

Description

Is there the type of choosing a color of bars - by default the bar has a down color if close lower than open.
I want to the option when down color is if close lower than previous bar close, not open of the current bar
And vice versa for up colors, respectively

Contributor guide

Open the contributing guide

Research direction

The issue names no file, test, or entry point. Start by locating mplfinance's bar or candlestick color-selection logic and compare its current open/close rule with the requested previous-close rule. Done means an option for choosing the comparison basis, with tests covering both up and down colors.

Written by the indexing model from the issue text.

Assessment

Tech stack
matplotlib, python
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.