'how to hold the points plotted in pyqtgraph?

I was plotting a real time plot using pyqtgraph. The points are plotted very fast and clears after plotted. I want to hold the points for few seconds. How to do this in pyqtgraph?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source