I have the following code to plot a line and a point:
df = pd.DataFrame({\'x\': [1, 2, 3], \'y\': [3, 4, 6]}) point = pd.DataFrame({\'x\': [2], \'y\': [5]})
In the last line of the code in question, replace style='-r' with kind='scatter':
ax = point.plot(x='x', y='y', ax=ax, kind='scatter', label='point')
You can optionally add a color argument to the call to point.plot:
ax = point.plot(x='x', y='y', ax=ax, kind='scatter', label='point', color='red')