Skip to content

Conversation

@rocky
Copy link
Member

@rocky rocky commented Dec 25, 2024

"lpn" is "list of points" checking on ListPlot[] and ListLinePlot[]. Fixes #1057

@rocky rocky requested a review from mmatera December 25, 2024 11:02
@rocky rocky marked this pull request as draft December 25, 2024 11:40
@rocky rocky force-pushed the Add-some-_ListPlot-point-checking branch 3 times, most recently from dde65d8 to 96eb94e Compare December 25, 2024 13:23
rocky added a commit that referenced this pull request Dec 29, 2024
The good stuff from #1245, but alas the thing we were trying to do there can cause an infinite loop in the eval_ListPlot routine. So let's do this part and narrow that PR.
rocky added 4 commits August 13, 2025 21:25
"lpn" is "list of points" checking on ListPlot[] and ListLinePlot[]
_ListPlot[] needs to evaluate its arguements in order to check them!
There is this weird place in caching where we were caching the
Expression form of a ListExpression. This is something that has been
plaguing our code. Finding and fixing these simplifies coding speeds up
execution.
Also, substitute for "%(name)" in interrupt handler "show"
@rocky rocky force-pushed the Add-some-_ListPlot-point-checking branch from c6337b7 to effa8b3 Compare August 14, 2025 02:04
Note that our simplified forms do not *exactly* matches WMA.
@rocky rocky force-pushed the Add-some-_ListPlot-point-checking branch from afb5b1e to ab3c5b7 Compare August 14, 2025 09:53
@rocky rocky marked this pull request as ready for review August 14, 2025 10:02
@rocky
Copy link
Member Author

rocky commented Aug 14, 2025

This PR started just before the last release. It had an infinite loop in it when we had bad input operands. Now that we have an interrupt handler for such situations, especially the "show" and "debugger" commands, it was straightforward to find and fix the bug.

@rocky rocky merged commit 9d48513 into master Aug 16, 2025
13 checks passed
@rocky rocky deleted the Add-some-_ListPlot-point-checking branch August 16, 2025 12:49
@rocky rocky changed the title Add "lpn" checking in _ListPlot Add "lpn" error message checking in _ListPlot Aug 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ListPlot[] error handling (and NestList[]) needs going over

2 participants