Is it possible to style the line end?

I have looked through the docs, and donโ€™t find any way to set how the line is termined. Usually there are three kinds of ending style for a line: round, butt and square.

A round-terminated line is as follows:

I wonder whether there is a way to style the line end. THX for any info!

Itโ€™s a bit of a hack, but you can do this sort of thing to get a rounded end:

fig = go.Figure(
    go.Scatter(x=[0,1], y=[0,1], mode='markers+lines',
               marker_symbol='circle', marker_size=10, line_width=10
    )
)

Thanks! A smart solution.