Closed vallsv closed 2 years ago
Here is a related log
2022-02-25 03:45:14,854 eh3 19785 silx.gui.plot._utils.delaunay ERROR : Delaunay tesselation failed: QH6214 qhull input error: not enough points(1) to construct initial simplex (need 4)
While executing: | qhull d Qt Qz Qbb Qc Q12
Options selected for Qhull 2019.1.r 2019/06/21:
run-id 650441638 delaunay Qtriangulate Qz-infinity-point Qbbound-last
Qcoplanar-keep Q12-allow-wide _pre-merge _zero-centrum Qinterior-keep
_maxoutside 0
Basically all those errors are telling you
The data is not checked before calling delaunay.
I see 2 options:
None
.
https://github.com/silx-kit/silx/blob/234a5f7a7b134b2c67bc3424d9e4facf9b539d45/src/silx/gui/plot/_utils/delaunay.py#L58I think if we can't do much as user, it's better to switch it to debug. But it's up to you.
Yes, as it is implemented, it is kind of "normal" behavior: +1 to turn this long log message to debug. What about adding a short info log so one has a way for knowing that nothing is displayed.
I don't know. To me it would make sense to return None or raise an error. But i don't exactly know the location nor the implication. Maybe we can take a look together with the code.
Ideally i would prefer to display the stuff with a fallback rendering, but it's probably not so important. I mean, not something we should spend a lot of time with.
Got a lot logs like the following i Flint, for some reason.
Any idea if it is useful for something? Or if this could be fixed in silx side?
I guess it's related to scatter rendering.
Else, i think ill filter out the message inside Flint.