-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: failing builds on master #14808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The first ones (plotting failures) started due to PR #14747, although the PR looks unrelated (and only started failing on the master branch, not in the PR) |
It's probably matplotlib 2.0.0b4 -> 2.0.0rc1 that is the culprit (that's a difference between the failing and passing builds) |
matplotlib 1.5.2:
matplotlib 2.0.0b4:
With matplotlib 2.0.0rc1
I suppose the change in the labels is intentional? ("vastly improved log scale ticks" in your rc1 announcement email. By the way, although you put this in your email as one of the highlights, it is almost not mentioned in the "What's new" / "Changes to the default style" documents) |
@tacaswell Can you give a quick confirmation that this change is intentional? (or not) Then I just adapt our tests. |
Sorry it took me so long to respond, this got lost in the wall of gh notifications I get 😞. I got behind about a month ago and am slowly digging my self back out. In the future, if you need my attention for pandas related plotting issues and I am not responding on GH feel free to escalate communication channels. The extra tick labels are intentional, the lack of write up in the what's new is because our doc-writing is behind our code writing. The space at the bottom is not |
@tacaswell No problem! Sorry for the questions, I currently don't have a master version of matplotlib, only the tagged rc, installed. |
In [1]: import pandas as pd
In [2]: import matplotlib.pyplot as plt
plt.i
In [3]: plt.ion()
In [4]: df = pd.DataFrame({'A': [3] * 5, 'B': range(1, 6)}, index=range(5))
In [5]: ax = df.plot(kind='bar', grid=True, log=True)
In [6]: ax.yaxis.get_ticklocs()
Out[6]: array([ 0.1, 1. , 10. , 100. ])
In [7]: [t.get_text() for t in ax.yaxis.get_ticklabels()]
Out[7]: ['', '${10^{0}}$', '', '']
In [8]: plt.matplotlib.__version__
Out[8]: '2.0.0rc1.post77+gf99ae8b' I think the not-visible ticks are something we consider a private detail (or maybe I just wish they were a private detail 😉 ). attn @efiring |
Assuming my internet comes back overnight, there should be an rc2 tomorrow. |
The problem here is that when we call the LogLocator, it returns a much larger range than needed. That range has probably increased--I suspect for no good reason, but I'm not positive. The I think the upshot for now, with respect to this Pandas test, is that the tick locations returned by |
@tacaswell looks like 2.0.0rc2 did something: https://travis-ci.org/pandas-dev/pandas/jobs/185737365 (didn't fix though) |
Tried with rc2, and I get the same figure as @tacaswell showed above for rc1.post78. Regarding the new error, I suppose this is due to a fix in rc2 (possibly matplotlib/matplotlib#7598), as the result of looks much better than with 1.5.3: |
PR to fix our test: #14957 |
Do you really like that missing third bar with 1.5.3? And the bottom-to-top first bar? I don't. |
@efiring maybe you misinterpreted my wording, but I certainly like the new rc2 plot! :) |
@jorisvandenbossche, you're right, I completely misread your earlier comment. I'm not sure how I managed that--it was perfectly clear. |
The text was updated successfully, but these errors were encountered: