@@ -101,7 +101,8 @@ def __hash__(self):
101101
102102
103103class CallbackRegistry :
104- """Handle registering and disconnecting for a set of signals and callbacks:
104+ """
105+ Handle registering and disconnecting for a set of signals and callbacks:
105106
106107 >>> def oneat(x):
107108 ... print('eat', x)
@@ -1869,7 +1870,8 @@ def _lock_path(path):
18691870def _topmost_artist (
18701871 artists ,
18711872 _cached_max = functools .partial (max , key = operator .attrgetter ("zorder" ))):
1872- """Get the topmost artist of a list.
1873+ """
1874+ Get the topmost artist of a list.
18731875
18741876 In case of a tie, return the *last* of the tied artists, as it will be
18751877 drawn on top of the others. `max` returns the first maximum in case of
@@ -1879,7 +1881,8 @@ def _topmost_artist(
18791881
18801882
18811883def _str_equal (obj , s ):
1882- """Return whether *obj* is a string equal to string *s*.
1884+ """
1885+ Return whether *obj* is a string equal to string *s*.
18831886
18841887 This helper solely exists to handle the case where *obj* is a numpy array,
18851888 because in such cases, a naive ``obj == s`` would yield an array, which
@@ -1889,7 +1892,8 @@ def _str_equal(obj, s):
18891892
18901893
18911894def _str_lower_equal (obj , s ):
1892- """Return whether *obj* is a string equal, when lowercased, to string *s*.
1895+ """
1896+ Return whether *obj* is a string equal, when lowercased, to string *s*.
18931897
18941898 This helper solely exists to handle the case where *obj* is a numpy array,
18951899 because in such cases, a naive ``obj == s`` would yield an array, which
@@ -1899,7 +1903,8 @@ def _str_lower_equal(obj, s):
18991903
19001904
19011905def _define_aliases (alias_d , cls = None ):
1902- """Class decorator for defining property aliases.
1906+ """
1907+ Class decorator for defining property aliases.
19031908
19041909 Use as ::
19051910
@@ -2094,7 +2099,8 @@ def _array_patch_perimeters(x, rstride, cstride):
20942099
20952100@contextlib .contextmanager
20962101def _setattr_cm (obj , ** kwargs ):
2097- """Temporarily set some attributes; restore original state at context exit.
2102+ """
2103+ Temporarily set some attributes; restore original state at context exit.
20982104 """
20992105 sentinel = object ()
21002106 origs = [(attr , getattr (obj , attr , sentinel )) for attr in kwargs ]
0 commit comments