Manipulate line width for hatching in matplotlib

The width of the hatch line in the matplotib graphics that occupy the hatch keyword is very thin. A few years ago I found several reports that a patch was made, but I still can’t figure out how to increase the width of the lines of the hatches. Is there any way to do this?

+5
source share
1 answer

Unfortunately, setting the hatch line width in the Agg backend is currently not possible. The width is hardcoded in src / _backend_agg.cpp to "1.0":

hatch_path_stroke.width(1.0);

The same is true for other backends, such as a PDF file, but for these cases it might be easier to plan a monkey.

+4
source

All Articles