Change appearance of plot line

Change the appearance of the plot line to match the expected outcome.
Expected:
matplotlib expected figure
Output:
import matplotlib.pyplot as plt import numpy as np # Logarithmic data x = np.linspace(1, 10, 20, dtype=np.float16) y = np.log(x) # adjust plot here...
plt.plot(x,y)
plt.grid() plt.show()
Python
Setting up Python environment...
Output