Sinus wave
Create a plot that matches the expected one by using the provided data. This time, you will also need to add a title and label the axes.
Expected:
![matplotlib expected figure](/sinus_wave.png)
Output:
import matplotlib.pyplot as plt
import numpy as np
# Generate data
x = np.linspace(-5, 5, 40, dtype=np.float16)
y = np.sin(x)
# create plot here...
plt.show()
Python
Setting up Python environment...
Output