Perhaps this question already exists, but I could not find it.
I am doing a scatter in Python. For illustrative purposes, I don’t want to set the axis range so that all points are included - there may be some really high or very low values, and all I care about at these points is that they exist, that is, they you need to be in the plot, but not on their actual meaning - rather, somewhere on top of the canvas.
I know there is a nice short syntax for this in the IDL: plot(x,y<value)any value in y greater than valuewill just be placed in y=value.
I am looking for something like this in Python. Can someone help me?
source
share