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

vispy / vispy / 19731777862
75%

Build:
DEFAULT BRANCH: main
Ran 27 Nov 2025 09:39AM UTC
Jobs 4
Files 345
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

27 Nov 2025 09:37AM UTC coverage: 74.903% (+0.004%) from 74.899%
19731777862

push

github

web-flow
Add parameter to control line height in text visual (#2711)

Small addition that allows to set the line height in the text visual.

```py
from vispy import scene
from vispy.scene.visuals import Text

# Create canvas with a viewbox at the lower half
canvas = scene.SceneCanvas(keys='interactive')

t1 = Text('Line height\nis default 1.5', parent=canvas.scene, color='red', font_size=20, line_height=1.5)
t2 = Text('Line height\nlowered to 1', parent=canvas.scene, color='blue', font_size=20, line_height=1)
t3 = Text('Line height\nincreased to 2', parent=canvas.scene, color='magenta', font_size=20, line_height=2)

t1.pos = canvas.size[0] // 2, (canvas.size[1] // 4) * 1
t2.pos = canvas.size[0] // 2, (canvas.size[1] // 4) * 2
t3.pos = canvas.size[0] // 2, (canvas.size[1] // 4) * 3

if __name__ == '__main__':
    canvas.show()
    canvas.app.run()
```

<img width="802" height="602" alt="image"
src="https://github.com/user-attachments/assets/939fa8e4-1062-4cde-b588-ba1c7a61b310"
/>

5874 of 10624 branches covered (55.29%)

11 of 12 new or added lines in 1 file covered. (91.67%)

24201 of 32310 relevant lines covered (74.9%)

2.45 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.03
-0.1% vispy/visuals/text/text.py
Jobs
ID Job ID Ran Files Coverage
1 run-2 - 19731777862.1 27 Nov 2025 09:51AM UTC 345
74.15
2 run-1 - 19731777862.2 27 Nov 2025 09:51AM UTC 345
46.69
3 run-4 - 19731777862.3 27 Nov 2025 09:51AM UTC 345
72.47
4 run-3 - 19731777862.4 27 Nov 2025 09:51AM UTC 345
52.02
Source Files on build 19731777862
  • Tree
  • List 345
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • f2c165a1 on github
  • Prev Build on main (#19668987981)
  • Next Build on main (#19958508322)
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