8000 plt.stackplot() does not work with 3.0.0 · Issue #12405 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
plt.stackplot() does not work with 3.0.0 #12405
Closed
@sorenwacker

Description

@sorenwacker

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.

Metadata

Metadata

Assignees

Labels

Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.status: confirmed bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0