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
It appears that stackplot fails for small numbers in version 3.2.1, or at least something goes wrong in my clean installation, see figures below.
stackplot
Code for reproduction
import numpy as np import matplotlib.pyplot as plt x = [0, 1] y1 = 1e-8*np.ones_like(x) y2 = 1e-9*np.ones_like(x) fig, axs = plt.subplots(2, 1) axs[0].stackplot(x, y1, y2) # This plot is fine axs[1].stackplot(x, y1/10, y2/10) # This plot is wrong plt.show()
Actual outcome Something went wrong in the second subplot.
Expected outcome Expected this, as generated with matplotlib version 3.1.2
matplotlib
Matplotlib version
print(matplotlib.get_backend())
Created a conda environment with only thenumpy package, then installed matplotlib with pip.
numpy
pip
The text was updated successfully, but these errors were encountered:
Bisects to 0911f8a, #13980 ping @anntzer
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug report
Bug summary
It appears that
stackplot
fails for small numbers in version 3.2.1, or at least something goes wrong in my clean installation, see figures below.Code for reproduction
Actual outcome
Something went wrong in the second subplot.
Expected outcome
Expected this, as generated with
matplotlib
version 3.1.2Matplotlib version
print(matplotlib.get_backend())
): MacOSXCreated a conda environment with only the
numpy
package, then installed matplotlib withpip
.The text was updated successfully, but these errors were encountered: