Set points outside plot to upper limit
问题 Maybe this question exists already, but I could not find it. I am making a scatter plot in Python. For illustrative purposes, I don't want to set my axes range such that all points are included - there may be some really high or really low values, and all I care about in those points is that they exist - that is, they need to be in the plot, but not on their actual value - rather, somewhere on the top of the canvas. I know that in IDL there is a nice short syntax for this: in plot(x,y<value)