-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: shrink bounding box on table plot #6841
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
Conversation
I think you can add The docs are always built for the 2.7 build (just not uploaded except for master). The log is not shown though. |
@TomAugspurger I realize that the doc build log IS THEIR already, at the bottom of the travis output, just click right above print_skipped |
@TomAugspurger did this work? to see the debug output? |
I guess the ipython_directive swallows up stdout except for Exceptions. I think I have a workaround. Testing locally first. OK, this should work. I'm just going to raise an Exception where the message is the values from the debug statements. |
@TomAugspurger good idea of raising to print the debug output! did you figure out the size issue? |
Not entirely. I am able to reproduce it locally now though, so I think it may be a matplotlib 1.1.1 thing. |
@TomAugspurger And how does it look if you save it yourself with |
Thanks for confirmation. I also could reproduce the issue using mpl1.1.1, and trying to dig in. |
Here's where I'm at. These are running: from pandas import *
from numpy.random import rand, randn
fig, ax = plt.subplots(1, 1)
df = DataFrame(rand(5, 3), columns=['a', 'b', 'c'])
ax.get_xaxis().set_visible(False) # Hide Ticks
df.plot(table=True, ax=ax)
So it is being plotted correctly from the interpreter, it's just something in the doc build that changes what's saved. Presumably a matplotlib RCParam, but maybe something else. The confusing thing is why it affects MPL 1.1.1 differently than MPL 1.4. Two solutions:
|
1.3.1 is the current yes? |
so If i switch 2.7.txt to 1.3.1, should I change anything else? (that's the do build), while the 2.7-locale actually does the slow tests |
yeah, 1.4 is the dev, 1.3.1 is the currently released version. |
I think changing Once we have python 3.4 running, we'll have 2 builds using 1.3.1 then. |
yep (I run 1.3.1 with 3.4 on windows as well)....ok...i'll push to master in a bit |
ok....once this is finished let's see what things look like pls review all graphs....as we are now building with 1.3.1 (vs 1.1.1) |
ok....graphs are up...look ok to me http://pandas-docs.github.io/pandas-docs-travis/visualization.html#visualization-table |
Yep. Thanks. I'll close this one. |
Doc formatting issue brought up in #6661 (comment)
@jreback any way to view the doc build before merging into master? I was looking into
pandas/ci/build_docs.sh
but it looks likes I'd need to set up another travis job and a new GH pages site.