• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

matplotlib / matplotlib / 12602
36%

Build:
DEFAULT BRANCH: master
Ran 03 Aug 2016 05:14PM UTC
Jobs 6
Files 98
Run time 26min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
12602

Pull #6892

travis-ci

web-flow
Don't force anncoords to fig coords upon dragging.

Minimal example:

    from matplotlib import pyplot as plt

    plt.annotate("foo", (.5, .5),
                (15, 15), textcoords="offset points",
                arrowprops={"arrowstyle": "->"},
                bbox={"ec": "k"}).draggable()
    plt.show()

Panning the axes shows that the annotation uses offset coordinates: it moves
"with" the point it points to.  However, (before this patch is applied,) after
dragging the annotation somewhere else, it switches to figure coordinates: when
panning the axes, the text box stops physically moving; instead it's the arrow
that moves to follow the point.

The fix actually makes the code simpler...
Pull Request #6892: Don't force anncoords to fig coords upon dragging.

30376 of 42865 relevant lines covered (70.86%)

0.71 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
7
100.0
lib/matplotlib/offsetbox.py
Jobs
ID Job ID Ran Files Coverage
1 12602.1 (MOCK=mock NUMPY=numpy==1.6) 03 Aug 2016 05:20PM UTC 0
Travis Job 12602.1
2 12602.2 (PYTHON_ARGS=-OO) 03 Aug 2016 05:21PM UTC 0
Travis Job 12602.2
3 12602.3 (PANDAS=pandas NOSE_ARGS=--with-coverage DELETE_FONT_CACHE=1) 03 Aug 2016 05:29PM UTC 0
70.86
Travis Job 12602.3
4 12602.4 (TEST_ARGS=--pep8) 03 Aug 2016 05:14PM UTC 0
Travis Job 12602.4
6 12602.6 (PRE=--pre) 03 Aug 2016 05:26PM UTC 0
Travis Job 12602.6
7 12602.7 (MOCK=mock NOSE_ARGS=) 03 Aug 2016 05:39PM UTC 0
Travis Job 12602.7
Source Files on build 12602
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #12602
  • Pull Request #6892
  • PR Base - master (#12593)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc