from matplotlib._enums import CapStyle CapStyle.demo()