Hi Sanjay, I was using the code above for scatter plot where I wanted to break x axis. and I…