It seems that customising plotly can become difficult once introducing more unique properties to the style of a graph. In this case changing the colour of a graph was easy, but adding a border to the top of the graph only becomes cumberson.