We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bug summary
Python crashes on plotting contour of array with two dimensions of size 1.
Code for reproduction
import numpy as np import matplotlib.pyplot as plt im = np.array([[0]]) plt.contour(im)
Actual outcome
Python interpreter craches, with this message: Floating point exception (core dumped)
Expected outcome This is the output I get on Python 2.6.6: ValueError: zero-size array to reduction operation minimum which has no identity
Matplotlib version Fedora 23, with Matplotlib 2.0.0 and numpy 1.12.0 installed using pip.
The text was updated successfully, but these errors were encountered:
Merge pull request #8227 from ianthomas23/8197_contour_1x1_array
b07a09d
Contouring 1x1 array (issue #8197)
Fixed by PR #8227. Thanks for the bug report @jeroenmuller.
Sorry, something went wrong.
ianthomas23
No branches or pull requests
Bug report
Bug summary
Python crashes on plotting contour of array with two dimensions of size 1.
Code for reproduction
Actual outcome
Expected outcome
This is the output I get on Python 2.6.6:
ValueError: zero-size array to reduction operation minimum which has no identity
Matplotlib version
Fedora 23, with Matplotlib 2.0.0 and numpy 1.12.0 installed using pip.
The text was updated successfully, but these errors were encountered: