matplotlib / matplotlib/mplfinance
Bug Report: Multiprocessing bug
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 678
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When using multiprocessing the images generated have varying plot sizes and adding a lock to the plot function or plotting in a loop works fine.
**To Reproduce**
Steps to reproduce the behavior:
Plot multiple charts using
python multiprocessing.Pool
map, apply, etc
**Expected behavior**
The generated charts should be the same as the charts generated in a non multiproc
Contributor guide
Research direction
Start by reproducing the issue with Python multiprocessing.Pool using map or apply, then compare the generated charts with charts made in a loop or with a lock around plotting. Done means multiprocessing produces charts with the same plot sizes as the non-multiprocessing case; the issue provides no named files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matplotlib, python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100