I want to create a stackplot using matplotlib. However, whatever I try I end up with ValueError: need at least one array to concatenate
Just to get started, the code I try to run is:
import matplotlib.pyplot as plt
plt.stackplot(x=range(4), y=[ [2,2,2,2], [1,2,3,4] ], labels=['a','b'])
Anyone has any ways to solve the problem?
