Line clipping on reversed axes

I am plotting a change in ranking over periods, so it makes sense to use a reversed axis. However I find when I plot the line it gets clipped at rank number 1. I thought that cliponaxis might be a suitable workaround, or that i could use padding, but none seem to work.

Any ideas on how I can get it to display the full line width when it lies on the axis?

data = {โ€˜rankโ€™: [2,2,2,2,1,1,2,2,2],
โ€˜periodโ€™: [โ€˜Aโ€™,โ€˜Bโ€™,โ€˜Cโ€™,โ€˜Dโ€™,โ€˜Fโ€™,โ€˜Gโ€™,โ€˜Hโ€™,โ€˜Iโ€™,โ€˜Jโ€™]}

rank = pd.DataFrame(data)

range = 15

trace1 = go.Scatter(x = rank[โ€˜periodโ€™], y = rank[โ€˜rankโ€™])
data = [trace1]

layout = dict(title = โ€˜Clippingโ€™,
xaxis = dict(showgrid= False,
ticks = โ€˜outsideโ€™,
tickcolor = โ€˜#acadafโ€™,
hoverformat = โ€˜.0fโ€™),
yaxis = dict(showgrid = False,
zeroline = True,
showline = False,
ticks = โ€˜โ€™,
tickcolor = โ€˜#acadafโ€™,
range= [15,1],
tick0= 1,
dtick= 1,
hoverformat = โ€˜.2fโ€™),
showlegend= False

fig = go.Figure(data=data,layout=layout)
iplot(fig, filename=โ€˜clipping exampleโ€™)

Change the range and zeroline values in the yaxis dict, as follows:

range= [15, 0.5],

and youโ€™ll get the right plot.

That worked! Thanks so much for your prompt reply, and your help. Much appreciated