Approach to plot the bounds for the numbers
Import the required libraries
- matplotlib
- pandas
- random
- Create a list of random numbers within the range of -1 to 1 with the decimal points rounded to 2 places.
- Create a dataframe to store the numbers and then save it to an excel file called "bound.xlsx".
- Upper bound is assumed to be 0.75 and lower bound is assumed to be -0.75.
- Plot the boundary lines using axhline() method from matplotlib.pyplot.
- Plot the value points using plot() method from matplotlib.pyplot.