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

has2k1 / plotnine / 552 / 2
87%
master: 87%

Build:
DEFAULT BRANCH: master
Ran 12 Sep 2019 10:52AM UTC
Files 147
Run time 6s
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

12 Sep 2019 10:47AM UTC coverage: 87.0% (+0.002%) from 86.998%
JOB=UNITTEST FULL_DEPS=true

push

travis-ci

has2k1
Fix: annotation_stripes with single stripe

annotation_stripes crashes when there is only a single break:

```python
       n_stripes = len(breaks)
        diff = np.diff(breaks)
>       step = diff[0]
E       IndexError: index 0 is out of bounds for axis 0 with size 0
geoms/annotation_stripes:82: IndexError
```

This let's it draw a single stripe instead.

There is a slight discrepancy in that multiple stripes
leave space at the sides, and the single one does not
(as if fill_range was set to True),
but I believe this is actually upstream of annotation_stripes,
when axis extends are calculated.

2452 of 3159 branches covered (77.62%)

Branch coverage included in aggregate %.

8349 of 9256 relevant lines covered (90.2%)

0.9 hits per line

Source Files on job 552.2 (JOB=UNITTEST FULL_DEPS=true)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 484
  • Travis Job 552.2
  • 4bba2e4c on github
  • Prev Job for JOB=UNITTEST FULL_DEPS=true on master (#549.1)
  • Next Job for JOB=UNITTEST FULL_DEPS=true on master (#554.1)
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