Commit a090f04
committed
Simplify docstring interpolation for Box/Arrow/ConnectionStyles.
- Move the implementation of pprint_styles into the method itself,
rather than an external function (_pprint_styles) which is used
nowhere else and which the method forwards to.
- Register all interpolations in one place, interpolate all style
docstrings in one place, and move the definition of FancyBboxPatch
(which was just copy-pasted) after them so that it can still use
docstring.dedent_interpd.
The patch looks big but it's mostly just the implementation of
FancyBboxPatch which was moved down.1 parent 25b80c3 commit a090f04
1 file changed
Lines changed: 411 additions & 431 deletions
0 commit comments