matplotlib / matplotlib/mplfinance

Set single candle color

Open
#378 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
4.4k
Forks
678
PR merge metrics
No merged PRs in 30d

Description

Looking ad [this](https://stackoverflow.com/questions/46326151/how-to-set-one-candle-stick-color-using-mpl-finance), it seems like in the old API version you could set the color of a single candle, is there a way to do the same with the current version without using the function of the old version?? (i v already seen i could use the same function of the example by doing -> from mplfinance.original_flavor import candlestick_ohl)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the current mplfinance candlestick plotting entry point with the legacy candlestick_ohlc example linked in the issue. Determine whether the current API can accept a color for one candle without importing mplfinance.original_flavor, then verify that a single candle renders with the requested color.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.