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

vispy / vispy / 24896915642 / 4
75%
main: 75%

Build:
DEFAULT BRANCH: main
Ran 24 Apr 2026 05:04PM UTC
Files 346
Run time 10s
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: 46.876% (+0.02%) from 46.854%
24896915642.4

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.

3468 of 10700 branches covered (32.41%)

15262 of 32558 relevant lines covered (46.88%)

0.47 hits per line

Source Files on job run-1 - 24896915642.4
  • 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 Build 24896915642
  • af0ef531 on github
  • Prev Job for on main (#24780807198.2)
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