-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[Bug]: Hatch linewidths cannot be modified in an rcParam context #21108
Copy link
Copy link
Closed
Labels
API: consistencyConsistency of the matplotlib API, including naming, behavior, defaults, …Consistency of the matplotlib API, including naming, behavior, defaults, …Difficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!topic: hatchtopic: rcparams
Milestone
Metadata
Metadata
Assignees
Labels
API: consistencyConsistency of the matplotlib API, including naming, behavior, defaults, …Consistency of the matplotlib API, including naming, behavior, defaults, …Difficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGood first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!topic: hatchtopic: rcparams
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug summary
The only way (that I am aware of) to control the linewidth of hatches is through an rc parameter. But temporarily modifying the parameter with
plt.rc_contexthas not effect.Code for reproduction
Actual outcome
Expected outcome
That second image (the green bars) should have thick hatches.
FWIW I think hatches ought to have an actual API, but given that they don't, this limitation makes them really hard to work with.
Operating system
macos
Matplotlib Version
3.4.3
Matplotlib Backend
inline