You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "kz930 (via GitHub)" <gi...@apache.org> on 2026/08/28 21:32:36 UTC
[I] Contour Plot ends the run instead of saying what it cannot plot [texera]
kz930 opened a new issue, #8076:
URL: https://github.com/apache/texera/issues/8076
### What happened?
The operator hands the three configured columns to scipy exactly as they arrive:
```python
x = table[...].values
grid_x, grid_y = np.meshgrid(np.linspace(min(x), max(x), grid_size), ...)
grid_z = griddata((x, y), z, (grid_x, grid_y), method='cubic')
```
Three ordinary tables end the run there rather than drawing anything.
An empty table: `min(x)` raises "min() iterable argument is empty" before griddata is reached.
A blank cell in x or y: it arrives as NaN and griddata refuses it with "Points cannot contain NaN". A blank in z fails more quietly. The interpolation returns an all-NaN grid, so the chart is drawn empty with nothing to say why.
Fewer than four points, or points that fall on one line: cubic interpolation triangulates first, and a degenerate set raises the QhullError below. Four points in general position draw fine.
I expected it to say what it cannot plot, the way the other charts do. Bar Chart drops the rows missing either configured column and then renders an error page reading "Table should not have any empty/null values or fields", and Dumbbell Plot does the same. Contour Plot has no `render_error` at all and no guard of any kind.
The numeric type rules already declared on x, y and z do not help here. The values are numeric in all three cases.
### How to reproduce?
1. Build a table with numeric x, y and z columns and four rows, all of them on the line y = x.
2. Connect Contour Plot and point x, y and z at those columns.
3. Run.
The run ends with the error below. Moving one point off the line lets it draw. The empty-table and blank-cell cases end the run in the same place, with the messages quoted above.
### Version/Branch
1.3.0-incubating-SNAPSHOT (main)
### Relevant log output
```shell
scipy.spatial._qhull.QhullError: QH6154 Qhull precision error: Initial simplex is flat (facet 1 is coplanar with the interior point)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Contour Plot ends the run instead of saying what it cannot plot [texera]
Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan closed issue #8076: Contour Plot ends the run instead of saying what it cannot plot
URL: https://github.com/apache/texera/issues/8076
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Contour Plot ends the run instead of saying what it cannot plot [texera]
Posted by "kz930 (via GitHub)" <gi...@apache.org>.
kz930 commented on issue #8076:
URL: https://github.com/apache/texera/issues/8076#issuecomment-5457985668
/take
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Contour Plot ends the run instead of saying what it cannot plot [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8076:
URL: https://github.com/apache/texera/issues/8076#issuecomment-5458010761
<!-- texera:template-compliance -->
👋 Thanks for opening this issue, @kz930!
It looks like the issue description doesn't quite follow our template yet:
- This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Contour Plot ends the run instead of saying what it cannot plot [texera]
Posted by "kz930 (via GitHub)" <gi...@apache.org>.
kz930 commented on issue #8076:
URL: https://github.com/apache/texera/issues/8076#issuecomment-5458059230
One correction to the report above: "fewer than four points" is not the rule. Three points that are not on a line contour fine. What Qhull needs is a point set that spans a plane, so the condition is only that the points do not all fall on one line, which two points never can. PR #8077 guards on exactly that.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org