<!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--> <!--You can feel free to delete the sections that do not apply.--> ### Bug report Something now breaks this code that used to work. Now, I have to call plt.subplots first and use stackplot on an axis object. TypeError: stackplot() got multiple values for argument 'x' ```python from matplotlib import pyplot as plt plt.stackplot([1,2,3], [1,2,3]) ``` Should be equivalent to ```python fig, ax = plt.subplots() ax.stackplot([1,2,3], [1,2,3]) ``` <!--A description of the expected outcome from the code snippet--> <!--If this used to work in an earlier version of Matplotlib, please note the version it used to work on--> **Matplotlib version** <!--Please specify your platform and versions of the relevant libraries you are using:--> * Operating system: * Matplotlib version: 3.0.0 * Matplotlib backend (`print(matplotlib.get_backend())`): 'module://ipykernel.pylab.backend_inline' * Python version: 3.6.6 * Jupyter version (if applicable): 4.4.0 * Other libraries: Installed matplotlib using conda with default channel.
Activity
jklymak commentedon Oct 4, 2018
This is present in master as well, and worked w/ 2.2.3
jklymak commentedon Oct 4, 2018
Bisects to 86fe16b #10918
anntzer commentedon Oct 5, 2018
#12293 also closes this.
timhoffm commentedon Oct 7, 2018
Closed via #12293.