diff options
author | Thomas A Caswell <tcaswell@gmail.com> | 2017-05-10 17:21:42 -0400 |
---|---|---|
committer | Thomas A Caswell <tcaswell@gmail.com> | 2017-05-10 17:21:42 -0400 |
commit | e6295a4a7f3b302a7f5a16a262e5c58569deb748 (patch) | |
tree | 2c71a95889b2ae4c7a4894ad2b769ab7ac37cdbd | |
parent | ec4d3144b636ac4943402a3aec24d5278ddb69a8 (diff) | |
parent | 9a7c15f3d2b2609fa804a428674e202614eea53a (diff) |
Merge remote-tracking branch 'matplotlib/v2.0.2-doc' into v2.0.xv2.0.x
-rw-r--r-- | doc/users/dflt_style_changes.rst | 4 | ||||
-rw-r--r-- | lib/matplotlib/ticker.py | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/users/dflt_style_changes.rst b/doc/users/dflt_style_changes.rst index 3d06a27b5..599c5ad13 100644 --- a/doc/users/dflt_style_changes.rst +++ b/doc/users/dflt_style_changes.rst @@ -416,6 +416,10 @@ By default, caps on the ends of errorbars are not present. demo(ax1, {'errorbar.capsize': 3}, 'classic') demo(ax2, {}, 'v2.0') +This also changes the return value of +:meth:`~matplotlib.axes.Axes.errorbar` as the list of 'caplines' will +be empty by default. + The previous defaults can be restored by setting:: mpl.rcParams['errorbar.capsize'] = 3 diff --git a/lib/matplotlib/ticker.py b/lib/matplotlib/ticker.py index 34bc85e27..5538f7ba7 100644 --- a/lib/matplotlib/ticker.py +++ b/lib/matplotlib/ticker.py @@ -950,7 +950,7 @@ class LogFormatter(Formatter): else: s = self.pprint_val(x, vmax - vmin) return s - + def __call__(self, x, pos=None): """ Return the format for tick val `x`. |