Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 85e52f6

Browse files
committed
Merge remote-tracking branch 'matplotlib/v2.0.x'
2 parents 7d6b0c8 + e6295a4 commit 85e52f6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

doc/users/dflt_style_changes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,10 @@ By default, caps on the ends of errorbars are not present.
416416
demo(ax1, {'errorbar.capsize': 3}, 'classic')
417417
demo(ax2, {}, 'v2.0')
418418

419+
This also changes the return value of
420+
:meth:`~matplotlib.axes.Axes.errorbar` as the list of 'caplines' will
421+
be empty by default.
422+
419423
The previous defaults can be restored by setting::
420424

421425
mpl.rcParams['errorbar.capsize'] = 3

lib/matplotlib/ticker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ def _num_to_string(self, x, vmin, vmax):
976976
else:
977977
s = self.pprint_val(x, vmax - vmin)
978978
return s
979-
979+
980980
def __call__(self, x, pos=None):
981981
"""
982982
Return the format for tick val `x`.

0 commit comments

Comments
 (0)