Skip to content
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

xticks scaling factor partially obscured with qtconsole and inline plotting #1443

Closed
joemilbourn opened this issue Feb 28, 2012 · 3 comments
Closed

Comments

@joemilbourn
Copy link

See screenshot: screenshot of ipython qtconsole with broken xticks
To reproduce: in a qtconsole after %pylab inline say plot(1e10*frange(10), 1e10*frange(10)) - the 1e11 scale is shown correctly on the y-axis but obscured on the x.

Only tested with Ipython 0.12 and python 2.7.1 on windows (Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)]), can't reproduce with ipython 0.12 and python 2.7.2+ on linux (Python 2.7.2+ (default, Feb 16 2012, 18:29:42))

@minrk
Copy link
Member

minrk commented Mar 6, 2012

Hm, this plot actually fits fine on my (OSX) machine. You can tweak the default rcParams used for the inline backend with the InlineBackend.rc dict, which sets some custom defaults for rcParams when you use the inline backend.

Do you have any custom matplotlib rc yourself?

@joemilbourn
Copy link
Author

No custom matplotlibrc, no custom anything! It's clean install of ipython and python2.7.

It plots properly for me on a linux box; I've not had a chance to try it on another windows system yet.

@minrk
Copy link
Member

minrk commented Jan 19, 2013

I believe this is fixed by the bbox_inches=tight improvements in matplotlib 1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants