matplotlib / matplotlib/matplotlib
[ENH]: dashed hatching pattern
- Dominant language
- Python
- Stars
- 23.2k
- Forks
- 8.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 66
Description
### Problem
I've recently seen a plot with a dashed hatching style and was wondering if there's a case for adding such a style to matplotlib? Especially that we've got dotted hatching already available and this seems to be similar.

Source: https://twitter.com/DataVizStefan/status/1714930118781530248/photo/1
### Proposed solution
I don't have the exact solution but matplotlib allows to create all sorts of fancy edge line styles so I'd imagine the technical ability of the library to implement this request is there.
https://matplotlib.org/stable/gallery/lines_bars_and_markers/linestyles.html
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
Review the open pull request #28072 alongside the issue’s dashed-hatching request and the linked Matplotlib linestyles gallery. Use the pull request as the current implementation context, then identify the relevant hatching behavior and any validation it provides; done means the proposed style is implemented and its behavior is covered by the project’s checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100