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
gtk3cairo draw_image does not respect origin and mishandles alpha #8798
I'd like to comment that using the imshow argument origin = 'lower' will still flip the image upside-down from origin = 'upper', thus leaving the drawn image consistently inverted relative to Matplotlib's coordinates with this backend.
This caused me some confusion last week, so I'm glad I'm not the first to notice it.
I consider the current cairo backend broken beyond repair.
If you are interested in using cairo, please have a look at https://github.com/anntzer/mpl_cairo, which can fully replace Agg. I would gladly accept any help in getting that backend packageable/ PR'able into the main repo.
Activity
AlexanderLarsRobinson commentedon Jul 17, 2017
I'd like to comment that using the
imshowargumentorigin = 'lower'will still flip the image upside-down fromorigin = 'upper', thus leaving the drawn image consistently inverted relative to Matplotlib's coordinates with this backend.This caused me some confusion last week, so I'm glad I'm not the first to notice it.
AlexanderLarsRobinson commentedon Jul 18, 2017
Looking more closely at older issues, the inversion thing seems to be a thing that has come and gone at least once already ...
anntzer commentedon Jul 18, 2017
I consider the current cairo backend broken beyond repair.
If you are interested in using cairo, please have a look at https://github.com/anntzer/mpl_cairo, which can fully replace Agg. I would gladly accept any help in getting that backend packageable/ PR'able into the main repo.