You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before the patch,
```
ec = plt.errorbar([1, 2], [3, 4], [5, 6], capsize=2, fmt="none")
print(ec.get_children())
```
would print `None` (corresponding to the "not drawn" line connecting the
data points), two `Line2D` and one `LineCollection`.
This patch drops the `None` out, as it is arguably not a child of the
Container. (It is still possible to access the individual members of
the Container by unpacking it as a tuple.)
Also reformat an overly indented piece of code in the vicinity.
0 commit comments