matplotlib / matplotlib/mplfinance

during save to image file to the disk, there are some noise...how to fix these issue?

Open
#642 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

My code is like below:
![image](https://github.com/matplotlib/mplfinance/assets/117306586/f3427edf-591a-49bb-a59b-1c5dc909b5af)

**During mpf.show() is called, the image is llike below:**

![image](https://github.com/matplotlib/mplfinance/assets/117306586/90c155a2-83cb-4f85-81f7-6ad654240713)

**and When I save the image to the png format, some noise appear like below, I wanna to know that how can I save a good png file without this noise?**

![image](https://github.com/matplotlib/mplfinance/assets/117306586/c1cdaf32-0ae8-4840-8511-780a45c7f27d)

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 with the code and example images attached to issue #642, focusing on the difference between mpf.show() and the saved PNG output. Reproduce the noisy image, then trace the save-to-PNG path and verify that the resulting file matches the displayed chart without noise.

Written by the indexing model from the issue text.

Assessment

Tech stack
matplotlib, python
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.