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

vispy / vispy / 24896915642
75%

Build:
DEFAULT BRANCH: main
Ran 24 Apr 2026 03:16PM UTC
Jobs 4
Files 346
Run time 1min
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

24 Apr 2026 03:14PM UTC coverage: 74.912% (+0.01%) from 74.902%
24896915642

push

github

web-flow
Expose line caps on AGG lines (#2734)

Lines drawn with AGG method have quite a bit of machinery in the
background that isn't exposed. Line caps are one of them, and this PR
exposes it as a property.

```py
import numpy as np
from vispy import scene

canvas = scene.SceneCanvas(show=True)
view = canvas.central_widget.add_view()
view.camera = 'panzoom'

line = scene.visuals.Line(
    np.array([[0, 0], [10, 10], [10, 0]]),
    width=10,
    color='white',
    method='agg',
    parent=view.scene,
)
view.camera.set_range()
```


<img width="802" height="602" alt="image"
src="https://github.com/user-attachments/assets/5628bf82-ddea-4b97-8ce2-8ddc6a847371"
/>


```py
line.line_caps = '>', '='
```

<img width="802" height="602" alt="image"
src="https://github.com/user-attachments/assets/9f118edf-220c-47bb-a0b9-bf6e98d85174"
/>


The extra artifacts present in both images are not caused by this PR,
but are some opther bug already present on main.

5925 of 10738 branches covered (55.18%)

18 of 21 new or added lines in 1 file covered. (85.71%)

24392 of 32561 relevant lines covered (74.91%)

2.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
87.46
0.22% vispy/visuals/line/line.py
Jobs
ID Job ID Ran Files Coverage
1 run-2 - 24896915642.1 24 Apr 2026 05:04PM UTC 346
74.13
2 run-4 - 24896915642.2 24 Apr 2026 05:04PM UTC 346
72.44
3 run-3 - 24896915642.3 24 Apr 2026 05:04PM UTC 346
51.94
4 run-1 - 24896915642.4 24 Apr 2026 05:04PM UTC 346
46.88
Source Files on build 24896915642
  • Tree
  • List 346
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • af0ef531 on github
  • Prev Build on main (#24780807198)
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