plt.plot(syn_data['x'], syn_data['y'], 'ko') # ko = black points plt.grid(True) plt.xlabel('x') plt.ylabel('y') plt.title('x vs y') plt.show()