You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on #5538 (comment) (allow artists to opt-out from being considered by the autoscaler), I noticed that the new margins machinery doesn't handle negative values in bar plots very well:
from matplotlib import pyplot as plt
fig, axs = plt.subplots(1, 2)
# wanted behavior: remove the margin at y=0.
axs[0].bar(0, 1)
# unwanted behavior: remove the margin at y=-1
axs[1].bar(0, -1)
plt.show()
While working on #5538 (comment) (allow artists to opt-out from being considered by the autoscaler), I noticed that the new margins machinery doesn't handle negative values in bar plots very well:
attn @mdboom
The text was updated successfully, but these errors were encountered: