import matplotlib.pyplot as plt
def plot_sine_wave():
import numpy as np
= np.linspace(0, 2*np.pi, 100)
x = np.sin(x)
y
=(8,6))
plt.figure(figsize='Sine Wave')
plt.plot(x, y, label'X Axis')
plt.xlabel('Y Axis')
plt.ylabel('Plot of Sine Wave from -π to π')
plt.title(True)
plt.grid(
plt.legend()
plt.show()
plot_sine_wave()