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

Skip to content

Commit e6295a4

Browse files
committed
Merge remote-tracking branch 'matplotlib/v2.0.2-doc' into v2.0.x
2 parents ec4d314 + 9a7c15f commit e6295a4

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
@@ -950,7 +950,7 @@ def _num_to_string(self, x, vmin, vmax):
950950
else:
951951
s = self.pprint_val(x, vmax - vmin)
952952
return s
953-
953+
954954
def __call__(self, x, pos=None):
955955
"""
956956
Return the format for tick val `x`.

0 commit comments

Comments
 (0)