I have created a python generator that yeilds a list of single values (e.g. like [1,971,15,341,..] up to some defined length of n,and wanted to plot them in sagemath. When I pass the generator to list_plot, I get an error as list_plot only accepts lists, tuples and dictionaries. Is there any way to get the list_plot behaviour from a generator without converting to a list first (Too memory-hungry for my purpose)?
If not, I'm planning to request an enhancement to list_plot, if at all possible.