Text of discourse.matplotlib.org › t › hatching-linewidth › 15938 as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Hatching linewidth? - matplotlib-users - Matplotlib

Hatching linewidth? Community matplotlib-users Jeff_Blackburne1 September 14, 2011, 8:04pm 1 Hi, I am trying to create a hatched region, with a "diagonal lines" hatch pattern. When using the PS backend, the hatch lines come out very narrow. Is there a way to increase the thickness of the hatch lines? I am using mpl version 1.0.1. I think this question has been asked before (e.g., in 2008), but I couldn't find an answer.

Thanks! -Jeff P.S. I apologize if this message arrives twice. Jeff_Blackburne1 September 15, 2011, 4:15pm 2 Ok, further searching led to an answer for the PDF backend. The linewidth is hard-coded to 0.1pt. http://www.mail-archive.com/ [email protected] /msg20873.html I assume it is similar for PS, because the output looks the same when I use both. Also, it seems there is an open issue on github (for the PDF case anyway): For now, I will just use a solid color fill instead, and await an updated hatch capability!

Thanks, Jeff ··· On Sep 14, 2011, at 4:04 PM, Jeffrey Blackburne wrote: I am trying to create a hatched region, with a "diagonal lines" hatch pattern. When using the PS backend, the hatch lines come out very narrow. Is there a way to increase the thickness of the hatch lines? I am using mpl version 1.0.1.