'Matplotlib axhline: linewidth changes X position of line [duplicate]
I've observed some weird effects of using linewidth param in axhline from matplotlib.pyplot. I want to make line bolder, but this param makes line wider too.
For example, linewidth = 1:

and linewidth = 25:

X position of these blocks makes really big difference for me. I can't accept errors as big as that. Do you have any ideas how to make this line bolder without changing their X position?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
