matplotlib / matplotlib/mplfinance
mplfinance savefig MemoryError
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 678
- PR merge metrics
- No merged PRs in 30d
Description
Hi, Happy new year!
MplFinance very nice! It brings great convenience to my work! Thank you for your hard work!
However, when savfig several times, a memory error occurs, The current test is an error after savfig 9 pictures in succession,as shown in the figure below:

Please give guidance on how to deal with this problem!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported MemoryError after saving nine mplfinance plots in succession, using the example context and screenshot in the issue. Trace the repeated savefig path and determine whether the failure is in mplfinance or Matplotlib; done means documenting or fixing the cause and verifying repeated saves no longer exhaust memory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matplotlib, python
- Domain
- data-visualization, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100