No, I mean in your plot function when you are using the reactive. Something similar is done in this post