Plot limit at next tick label

Welcome to the community! Please take a look at this post, which has some suggestions about how to make it easier for folks to help you when you ask questions on discourse. In particular you can quote entire blocks of code. It looks like you figured out how to do it for a single line with backticks, but you can use three of them to do a block:

```
function foo(x)
    return x + 42
end
```

Or you can just highlight it and click the button that looks like this: </>.

As you your actual question, i don’t think there’s a way to do this automatically, but you can set the ticks and limits manually. I think it’s something like yaxis = ("Spend", 0:0.2:0.8, (0, 0.8)) (or separately, ylabel= "Spend", yticks=0:0.2:0.8, ylims=(0, 0.8)).