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
{{ message }}
Repository navigation
Gap between X-axis and and imshow 2D plot in matplotlib 2.0.0 #8010
This is probably a snapping issue, much akin to the issues we have had with
lines appearing in colorbars. This is likely to be extremely difficult to
solve.
I can imagine that it could be hard to fix but also a good thing to do since its an indication of something not running as smoothly as it should which could cause all sorts of trouble later.
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
Activity
dstansby commentedon Feb 2, 2017
Yep, this is reproducible on current master. It is saving to a .jpg file with a low dpi that causes the gap to appear.
fkbreitl commentedon Feb 3, 2017
The cause is not just the low dpi but more complex.
If I use
plt.rcParams['figure.figsize'] = [8, 7.01]ordpi=49the gab disappears.WeatherGod commentedon Feb 3, 2017
fkbreitl commentedon Feb 3, 2017
I can imagine that it could be hard to fix but also a good thing to do since its an indication of something not running as smoothly as it should which could cause all sorts of trouble later.
github-actions commentedon Apr 6, 2023
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
QuLogic commentedon Apr 26, 2023
Seems to still be a problem on

main, and not specific tojpg:github-actions commentedon Apr 26, 2024
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!