Resolved: why we put an asterisk(*) in the line of code: plt.legend(*scatter.legend_elements())
in
The Complete Data Visualization Course with Python, R, Tableau, and Excel
/
Scatter Plot - Python - How to Create a Scatter Plot