Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug]: contour raises IndexError if Z is specified as keyword argument #24743

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
simonkeys opened this issue Dec 16, 2022 · 1 comment · Fixed by #24749
Closed

[Bug]: contour raises IndexError if Z is specified as keyword argument #24743

simonkeys opened this issue Dec 16, 2022 · 1 comment · Fixed by #24749

Comments

@simonkeys
Copy link

Bug summary

pyplot.contour raises IndexError when Z is specified as Z=a.

Code for reproduction

import matplotlib.pyplot as plt
plt.contour(Z=np.random.rand(30, 30))

Actual outcome

Screen Shot 2022-12-15 at 8 23 39 PM

Expected outcome

Screen Shot 2022-12-15 at 8 24 46 PM

Additional information

No response

Operating system

OS/X

Matplotlib Version

3.6.2

Matplotlib Backend

module://matplotlib_inline.backend_inline

Python version

Python 3.8.15

Jupyter version

6.5.2

Installation

pip

@anntzer
Copy link
Contributor

anntzer commented Dec 16, 2022

Similar to #14084, AFAICT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment