Stripy hist2d when saved to pdf
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 576
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Description
Somehow the corner plots recently (for me, not sure since when) end up with stripes in them in areas of low point density when I save the fig to pdf (right panel in image) but they're fine when I save to png (left panel on image). This is possibly a backend issue with matplotlib, but I thought I'd raise an issue here to (1) help people who run into this problem; and (2) in case this is something specific to this code + matplotlib as opposed to the latter only.
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
Reproduce the reported corner plot with a low-density hist2d region, saving the same figure to PDF and PNG. Compare the rendering across matplotlib backends to determine whether the stripes are specific to corner.py or to matplotlib; done means identifying the source and documenting or fixing the PDF output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100