anntzer / mplcursors

Compare af0f7ad ... +0 ... f7663e8

Coverage Reach
_pick_info.py _mplcursors.py __init__.py

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 1 files from the diff.

@@ -713,12 +713,12 @@
Loading
713 713
@_call_with_selection
714 714
def _(sel, *, key):
715 715
    ns = sel.artist.get_array().shape[:2]
716 -
    idxs = (np.asarray(sel.target.index)
717 -
            + {"left": [0, -1],
718 -
               "right": [0, 1],
719 -
               "up": {"lower": [1, 0], "upper": [-1, 0]}[sel.artist.origin],
720 -
               "down": {"lower": [-1, 0], "upper": [1, 0]}[sel.artist.origin]}[
721 -
                   key]) % ns
716 +
    delta = (
717 +
        {"left": [0, -1], "right": [0, +1], "down": [-1, 0], "up": [+1, 0]}[
718 +
            key]
719 +
        * np.array([-1 if sel.artist.axes.yaxis.get_inverted() else +1,
720 +
                    -1 if sel.artist.axes.xaxis.get_inverted() else +1]))
721 +
    idxs = (sel.target.index + delta) % ns
722 722
    xmin, xmax, ymin, ymax = sel.artist.get_extent()
723 723
    if sel.artist.origin == "upper":
724 724
        ymin, ymax = ymax, ymin

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
lib/mplcursors 0.01% 95.30%
Project Totals (3 files) 95.30%
Loading