Expected:

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