Create line plot with title
Create a plot that matches the expected one by using the provided data. Don't forget to add the correct title.
Expected:
![matplotlib expected figure](/square_x_with_title.png)
Output:
import matplotlib.pyplot as plt
import numpy as np
# Generate data
x = np.linspace(-5, 5, 40, dtype=np.float16)
y = x**2
# create plot here...
plt.show()
Python
Setting up Python environment...
Output