Home > Blockchain >  Emplty plot normalised values
Emplty plot normalised values

Time:03-18

Want to plot normalised values in array but getting empty plot

import numpy as np
x_array = np.array([2,3,5,6,7,4,8,7,6])
normalized_arr = preprocessing.normalize([x_array])
print(normalized_arr)

plt.plot(normalized_arr)
plt.show()

Empty plot - The output image

  • Related