import seaborn as sns
import pandas as pd
import matplotlib.pyplot as plt
d = {'x-axis':[100,915,298,299], 'y-axis': [1515,1450,1313,1315],
'text':['point1','point2','point3','point4']}
df = pd.DataFrame(d)
p1 = sns.relplot(x='x-axis', y='y-axis',data=df )
ax = p1.axes[0,0]
for idx,row in df.iterrows():
x = row[0]
y = row[1]
text = row[2]
ax.text(x+.05,y,text, horizontalalignment='left')
plt.show()
Here How I can decide x-axis range. I mean I want that x-axis should be 0 50 100 150 etc and I want yaxis to be 0 500 1000 1500 etc and also I make sure that both axes are starting from 0