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

vispy / vispy / 9398089489 / 2
75%
main: 75%

Build:
DEFAULT BRANCH: main
Ran 06 Jun 2024 09:15AM UTC
Files 344
Run time 11s
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

06 Jun 2024 09:03AM UTC coverage: 46.51% (-0.003%) from 46.513%
9398089489.2

push

github

web-flow
Raise ValueError when setting relative_step_size 0 or negative (#2595)

See discussion in #2589 

This changes the the `relative_step_size` setter to:
* raise a `ValueError` when setting to 0 or a negative value
* warn when setting small values between 0 and `side_len / (2 *
MAX_CANVAS_SIZE)`
* silently comply otherwise

This is closer to the previous behavior, and I think makes intuitive
sense (step size <=0 is non-sensical and could cause degenerate behavior
in the shader).

A bit confusing - there is a test for this and it passed on #2589
checks:

https://github.com/vispy/vispy/blob/4f061ba23/vispy/visuals/tests/test_volume.py#L46-L48

3370 of 10476 branches covered (32.17%)

14905 of 32047 relevant lines covered (46.51%)

0.47 hits per line

Source Files on job run-1 - 9398089489.2
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 9398089489
  • 659369b3 on github
  • Prev Job for on main (#9306262654.3)
  • Next Job for on main (#9484800458.3)
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