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
Rectangle patch added to a datetime x-axis is plotted with the wrong width #10349
Activity
jklymak commentedon Jan 30, 2018
date2num.Rectanglewants a width and height, not the x1, y1 co-ordinates.I'm going to close because this isn't a bug.
afvincent commentedon Jan 30, 2018
Well FWIW, the following seems to be working with the master branch (but not with Matplotlib 2.1.2):
(Just changed the
Rectanglepatch instantiation to use width [but still withtimedeltatype] and height, instead of [x1, y1] as @jklymak pointed out)jklymak commentedon Jan 30, 2018
Oh, so it does! I was getting some bizarre error, but its gone now! Good job..
afvincent commentedon Jan 30, 2018
@jklymak I guess that it does since #9072 (I did not bisect to check though)
jklymak commentedon Jan 30, 2018
Looks correct - I must have had my git repository in some strange state that didn't include that PR...
My workaround works until 2.2 comes out...