Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 00165eb

Browse filesBrowse files
committed
Set sticky_edges correctly for negative height bar().
The patch correctly sets the sticky edge to 0 instead of -1 for `bar(0, height=-1)`.
1 parent eaf05e9 commit 00165eb
Copy full SHA for 00165eb

File tree

Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-6
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2113,12 +2113,6 @@ def make_iterable(x):
21132113

21142114
args = zip(left, bottom, width, height, color, edgecolor, linewidth)
21152115
for l, b, w, h, c, e, lw in args:
2116-
if h < 0:
2117-
b += h
2118-
h = abs(h)
2119-
if w < 0:
2120-
l += w
2121-
w = abs(w)
21222116
r = mpatches.Rectangle(
21232117
xy=(l, b), width=w, height=h,
21242118
facecolor=c,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.