title: Python Matplotlib: Set axis as increments with respect to one value
body: <p>Some times when a plot is zoomed in enough the axis change so showing something like this</p>
  
  <p><a href="https://i.stack.imgur.com/O76OC.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O76OC.jpg" alt="enter image description here"></a></p>
  
  <p>which means that the x value is, in this case 1.565 + the value showed in the tick.</p>
  
  <p>Is there a way to set the axis ticks in this format? And once there how can I set the offset (The 1.565 in this case) and format the ticks? </p>