How to fix the y-axis of a plot module chart?

How can I fix the y-axis coordinates from 0 to 2?

You can use the “Plots” module and set the y-axis range like this:

If you want to use Python there is also an example in the script repository Using slicer.util.plot() utility function

thank you for your replies, it’s done right now.