Simplifications to errorbar(). · matplotlib/matplotlib@c24b1af · GitHub
Skip to content

Commit c24b1af

Browse files
committed
Simplifications to errorbar().
- Move check that x and y have same size to top. - Replace xywhere by a more general mask-application function; then, in the various xlolims/xuplims/... handling blocks, apply all masks at once. - Apply xlolims/xuplims in extract_err, which allows drawing all errorbars in a single call to vlines()/hlines(). - We don't need to check the size of lolims/uplims because they go through broadcast() earlier. - Clarify the docstring a bit.
1 parent 5ab1352 commit c24b1af

1 file changed

Lines changed: 78 additions & 89 deletions

File tree

lib/matplotlib/axes/_axes.py

Lines changed: 78 additions & 89 deletions

0 commit comments

Comments
 (0)