This problem description is problematic, and do is the test suite code as many have pointed out.
tip/hint: don't use 'scatter' function to plot the minimum asterisk marker as I did, test suite only accepts 'plot' for a a dum(b)p reason (pun intended *)