why generate RuntimeError: when you run with Python3.81 matplotilb matplotlib does not support generators as input, Code as shown in figure, baidu translation is showed: it does not support the generator as input

CodePudding user response:
Have found reasons, y_values column, should be a list is not brackets
