Origin of this topic is my answer at https://tex.stackexchange.com/questions/526852.
Visual Artefact When Using `axis line style = {rounded corners}`