Skip to content

Commit 9a835ee

Browse files
committed
Fix unfilled units snippets
1 parent 0d349a3 commit 9a835ee

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

proplot/gridspec.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@
8181
panels. Default is :rc:`subplots.panelpad`.
8282
%(units.em)s
8383
"""
84-
docstring.snippets['gridspec.shared'] = _shared_docstring
85-
docstring.snippets['gridspec.scalar'] = _scalar_docstring
86-
docstring.snippets['gridspec.vector'] = _tight_docstring
87-
docstring.snippets['gridspec.tight'] = _tight_docstring
84+
docstring.snippets['gridspec.shared'] = docstring.add_snippets(_shared_docstring)
85+
docstring.snippets['gridspec.scalar'] = docstring.add_snippets(_scalar_docstring)
86+
docstring.snippets['gridspec.vector'] = docstring.add_snippets(_tight_docstring)
87+
docstring.snippets['gridspec.tight'] = docstring.add_snippets(_tight_docstring)
8888

8989

9090
def _disable_method(attr):
@@ -1111,9 +1111,7 @@ def figure(self, fig):
11111111
# NOTE: Do not document these since intended usage is internal and panel slot
11121112
# obfuscation makes this confusing. For example gs.update(wspace=gs.wspace) in
11131113
# presence of panels would yield error. For now the only supported introspection
1114-
# is the __repr__. Probably no big deal... introspection not critical here. May
1115-
# add support for introspection once 'EdgeStacks' are implemented and the
1116-
# panel obfuscation is no longer required.
1114+
# is the __repr__. Probably no big deal... introspection not critical here.
11171115
nrows = property(lambda self: self._nrows) # in case missing
11181116
ncols = property(lambda self: self._ncols) # ...
11191117
left = property(functools.partial(_get_current_space, key='left'))

0 commit comments

Comments
 (0)