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

hgrecco / pint / 720
91%

Build:
DEFAULT BRANCH: master
Ran 02 Sep 2017 07:11PM UTC
Jobs 9
Files 16
Run time 3min
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
720

push

travis-ci

bors[bot]
Merge #549

549: Matplotlib support r=hgrecco a=dopplershift

This adds a method to `UnitRegistry` that hooks up handlers for `Quantity` instances within matplotlib's unit machinery:
```python
import pint
ureg = pint.UnitRegistry()
ureg.setup_matplotlib()
```
This support can also be disabled with:
```python
ureg.setup_matplotlib(False)
```

Closes #317.

30 of 30 new or added lines in 2 files covered. (100.0%)

2795 of 3164 relevant lines covered (88.34%)

7.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
pint/registry.py
27
100.0
pint/matplotlib.py
Jobs
ID Job ID Ran Files Coverage
1 720.1 (UNCERTAINTIES="N" PYTHON="2.6" NUMPY_VERSION=1.9.2) 02 Sep 2017 07:12PM UTC 0
86.09
Travis Job 720.1
2 720.2 (UNCERTAINTIES="N" PYTHON="2.7" NUMPY_VERSION=1.11.2) 02 Sep 2017 07:12PM UTC 0
86.13
Travis Job 720.2
3 720.3 (UNCERTAINTIES="N" PYTHON="3.3" NUMPY_VERSION=1.9.2) 02 Sep 2017 07:11PM UTC 0
86.0
Travis Job 720.3
4 720.4 (UNCERTAINTIES="N" PYTHON="3.4" NUMPY_VERSION=1.11.2) 02 Sep 2017 07:12PM UTC 0
86.06
Travis Job 720.4
5 720.5 (UNCERTAINTIES="N" PYTHON="3.5" NUMPY_VERSION=1.11.2) 02 Sep 2017 07:12PM UTC 0
86.06
Travis Job 720.5
6 720.6 (UNCERTAINTIES="Y" PYTHON="3.5" NUMPY_VERSION=1.11.2) 02 Sep 2017 07:14PM UTC 0
88.02
Travis Job 720.6
7 720.7 (UNCERTAINTIES="N" PYTHON="3.6" NUMPY_VERSION=1.11.2) 02 Sep 2017 07:15PM UTC 0
86.06
Travis Job 720.7
8 720.8 (UNCERTAINTIES="N" PYTHON="2.7" NUMPY_VERSION=0) 02 Sep 2017 07:14PM UTC 0
77.43
Travis Job 720.8
9 720.9 (UNCERTAINTIES="N" PYTHON="3.5" NUMPY_VERSION=0) 02 Sep 2017 07:14PM UTC 0
77.43
Travis Job 720.9
Source Files on build 720
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #720
  • 79f2b681 on github
  • Prev Build on master (#715)
  • Next Build on master (#723)
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