8000 FIX: don't double transpose xy for add-lines colorbar · matplotlib/matplotlib@34636bf · GitHub
[go: up one dir, main page]

Skip to content

Commit 34636bf

Browse files
committed
FIX: don't double transpose xy for add-lines colorbar
1 parent 552e078 commit 34636bf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/matplotlib/colorbar.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,8 +790,6 @@ def add_lines(self, *args, **kwargs):
790790
xy[[2, 3], 1] += fac
791791
# back to axes units...
792792
xy = self.ax.transAxes.inverted().transform(inches.transform(xy))
793-
if self.orientation == 'horizontal':
794-
xy = xy.T
795793
col.set_clip_path(mpath.Path(xy, closed=True),
796794
self.ax.transAxes)
797795
self.ax.add_collection(col)

0 commit comments

Comments
 (0)
0