Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Regression: odd rendering of zordered areas on twinx axes in 1.2 (release) versus 1.1 #1807

Closed
phobson opened this Issue · 2 comments

3 participants

@phobson

(Note: I'm going to follow up on this with a git bisect to track down the issue.)

In trying to implement horizon charts, I came across an odd regression.

The code that demostrates the error is here:
https://gist.github.com/phobson/5086152

I brought this up on StackOverflow (http://stackoverflow.com/questions/15167928/implementing-horizon-charts-in-matplotlib) and the answerer used my original code in the SO question and matplotlib 1.1 to produce this correct, but poorly formatted image:

51c7ko

But as shown in the SO link, with matplotlib 1.2,. and a recent build from master, I get:

xcYUp

As an aside, an implementation that works on both versions and is perhaps a bit more elegant can be founder here: http://nbviewer.ipython.org/5045887

If appropriate, I'd like to work this into a PR, although it may be more appropriate for pandas.

@mdboom
Owner

I can't reproduce the correct result on 1.1.0 or 1.1.1. What specific version did this work on? There are some complicated interactions between invert_yaxis and twinx going on here, but it would first be helpful to establish a baseline that's working. Is this on the Agg backend, or some other backend?

@pelson
Collaborator

I can't reproduce the correct result on 1.1.0 or 1.1.1.

I can reproduce the correct result... with master. @phobson - I'm going to close this, but if you can't get the correct result with master, we can re-open and investigate.

For what it's worth, I was able to get the failing result with v1.2.0 and v1.2.1 but not with v1.2.x - but then we have fixed a lot of backend_agg bugs recently, I guess this is the fruition of that :smile:

@pelson pelson closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.