matplotlib / matplotlib/mplfinance

Feature Request: Add `markevery` as a param to mpf.plot()

Open
#551 1 comment 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

The request is to add in a feature for `markevery` such that the plot can mark specific points in the plot, where the size, color and shape can be configured, or when not provided, defaults to a set value. A reference to what has been implemented in matplotlib is provided below:

https://matplotlib.org/stable/gallery/lines_bars_and_markers/markevery_demo.html

Happy to help with the implementation.

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 at the mpf.plot() entry point and review the linked Matplotlib markevery demo to understand the intended behavior. Add support for configuring which points are marked along with marker size, color, and shape, using defaults when options are omitted; done means these settings work through mpf.plot().

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.