Bug summary When using subfigures, calling fig.legend () (on the main/root figure) after having drawn a stackplot (ax.stackplot) results in the following error: RuntimeError: Can not put single artist ...
import pylab as plt import numpy as np plt.figure() plt.gca().stackplot([0, 1, 2, 3, 4], [[1, 2, 3, 4, 5], [5, 4, np.nan, 2, 1], [1, 1, 1, 1, 1]]) Notice that the ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results