Skip to content

plt.stackplot() does not work with 3.0.0 #12405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sorenwacker opened this issue Oct 4, 2018 · 4 comments
Closed

plt.stackplot() does not work with 3.0.0 #12405

sorenwacker opened this issue Oct 4, 2018 · 4 comments
Assignees
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. status: confirmed bug
Milestone

Comments

@sorenwacker
Copy link

sorenwacker commented Oct 4, 2018

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'

from matplotlib import pyplot as plt
plt.stackplot([1,2,3], [1,2,3]) 

Should be equivalent to

fig, ax = plt.subplots()
ax.stackplot([1,2,3], [1,2,3]) 

Matplotlib version

  • 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.

@jklymak
Copy link
Member

jklymak commented Oct 4, 2018

This is present in master as well, and worked w/ 2.2.3

@jklymak
Copy link
Member

jklymak commented Oct 4, 2018

Bisects to 86fe16b #10918

@ImportanceOfBeingErnest ImportanceOfBeingErnest added this to the v3.0.x milestone Oct 5, 2018
@ImportanceOfBeingErnest ImportanceOfBeingErnest added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Oct 5, 2018
@anntzer
Copy link
Contributor

anntzer commented Oct 5, 2018

#12293 also closes this.

@timhoffm
Copy link
Member

timhoffm commented Oct 7, 2018

Closed via #12293.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. status: confirmed bug
Projects
None yet
Development

No branches or pull requests

5 participants