Skip to content

Commit 039abcd

Browse files
committed
black
1 parent 86e8aec commit 039abcd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ultraplot/internals/docstring.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ def _obfuscate_signature(func: _F, dummy: Callable[..., Any]) -> _F:
5959
return func
6060

6161

62-
def _concatenate_inherited(
63-
func: _F, prepend_summary: bool = False
64-
) -> _F:
62+
def _concatenate_inherited(func: _F, prepend_summary: bool = False) -> _F:
6563
"""
6664
Concatenate docstrings from a matplotlib axes method with a ultraplot
6765
axes method and mark its generated-documentation signature as compact.
@@ -163,7 +161,9 @@ def __call__(self, obj: _T | str) -> _T | str:
163161
obj %= self # add snippets to a string
164162
else:
165163
documented = cast(Any, obj)
166-
documented.__doc__ = inspect.getdoc(documented) # also dedents the docstring
164+
documented.__doc__ = inspect.getdoc(
165+
documented
166+
) # also dedents the docstring
167167
if documented.__doc__:
168168
documented.__doc__ %= self # insert snippets after dedent
169169
return obj

0 commit comments

Comments
 (0)