Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR creates a node that will take two lists, and run the python function
product()
on them then unzip the resulting list of tuples into two lists. The purpose is to get two lists which when consumed together go through all the combinations of the two original lists. This is very useful for generating XY-Plots in a single queued job on absolutely anything when used along side theCR_TextList
,CR_IntegerRangeList
,CR_FloatRangeList
&CR_ImageGrid
node. Thespan
output gives the X dimension of the plot so that that can drive themax_columns
input of the image grid.An example crossing the checkpoint and CFG
Also fixed a couple of issues.
CR_Textlist
had been recently updated to take aloops
parameter, but it had no widget. Broke the node, so added the widget.CR_SelectFont
failed with aFileNotFound
exception on my system as notruetype
directory existed under/usr/share/fonts
. Used the standard libraryglob()
function to search for.ttf
files from the/usr/share/fonts
level instead.