Is there a way to increase the width of hatch in matplotlib?
For example, the following code by specifying linewidth
only changes the width of the edge. I
As of matplotlib version 2.0, you can directly change the linewidth parameter, as follows:
import matplotlib as mpl
mpl.rcParams['hatch.linewidth'] = 0.1 # previous pdf hatch linewidth
mpl.rcParams['hatch.linewidth'] = 1.0 # previous svg hatch linewidth
This seems a better workaround than what folks have above. You can check the matplotlib version by:
import matplotlib as mpl
print(mpl.__version__) # should be 2.x.y