Skip to content

Commit 0a00e9a

Browse files
committed
DOC: clarify why artists should be returned
1 parent a47556a commit 0a00e9a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/statistics/errorbars_and_boxes.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
2. the function operates on the `Axes` methods directly, not through
1414
the `pyplot` interface
1515
3. plotting kwargs that could be abbreviated are spelled out for
16-
better code readability in the figure (for example we use
16+
better code readability in the future (for example we use
1717
`facecolor` instead of `fc`)
1818
4. the artists returned by the `Axes` plotting methods are then
1919
returned by the function so that, if desired, their styles
20-
can be modified later (they are not modified in this example).
20+
can be modified later outside of the function. (they are not
21+
modified in this example).
2122
"""
2223

2324
import numpy as np

0 commit comments

Comments
 (0)