Hi empet, thanks for your reply. Iām sorry, I perhaps didnāt clarify what Iād like to do.
Letās say I have some data with a range in x from 0 to 10. I want to display this data on an x-axis which is reversed so 10 is on the left and 0 on the right. However, Iād additionally like to display only a limited range of the whole data, letās say from 5 to 8 (or 8 to 5, since itās reversed). I have found that the code in the example I previously linked to does not do what I believe it is meant to be doing. Namely the range=[0, 10] in this code:
xaxis=dict(autorange='reversed', range=[0, 10])
in the example does not seem to have any effect on the plot. If autorange='reversed' is removed, then the range=[...] does have an effect.
In fact I can achieve what I want by simply omitting the autorange and specifying the range as range=[10,0]. So now Iām wondering what is autorange=reversed meant to do that range=[max, min] canāt? Regarding your example, it seems we could achieve some blank space on the left of the reversed plot just by changing the range e.g. range=[max+5, min].
Thanks