matplotlib/matplotlib — pull request #2263 by lepa-mowa (2013-07-31 16:45:08+00:00)
Title: Correct setup of margins for logarithmic plots

The current formula for setting margins is false in case of log plots. Here is a tested suggestion handling the special case. Please see if this can be backported to the current release candidate (perhaps even beyond), as it seems mandatory to have a correct way of setting margins for log plots.