import matplotlib.pyplot as plt
import numpy as np
x = np.array(["A", "B", "C", "D"])
y = np.array([3, 8, 1, 10])
plt.bar(x,y)
plt.show()
It doesn't show me the diagram! Only this text:
<BarContainer object of 4 artists>
This code is simple, so as to be more comprehensive. I was trying to visualize some data and jupyter did not show me the diagram. Then, I tried to run this simple code and it showed me this text, instead of a diagram. Can you help me please?