I am using pyqtgraph library for making my own GUI.
When I create a graph using this library, I want to lock the scrolling of vertical movement of the graph so that I can scroll the graph only the horizontal sides.
How can I do this? Is there any method to accomplish this goal?