title: Highlight the Axis OX and OY in matplotlib
body: <p>I need help to highlight the Axis OX and OY in matplotlib.pyplot. Im using it to render function graphs and without highlited OX and OY graphs look unfinished.
  Here's my code:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  
  def render_func_graph(formula, x_range):
      try:
          fig = plt.figure()    
          x = np.array(x_range)
          y = eval(formula)
          print(y)
          plt.plot(x, y, 'go-')
          plt.scatter(0,0)
          plt.grid(True)
          plt.show()
      except Exception as err:
          print(str(err))  
  
  def main():
      func = input('f(x):')
      render_func_graph(func, range(-10, 10))
  
  if __name__ == '__main__':
      main()
  </code></pre>
  
  <p>And i'm getting this for <code>1/x</code> formula</p>
  
  <p><a href="https://i.stack.imgur.com/fG5pr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fG5pr.png" alt="Result"></a></p>
  
  <p>And i want to get something like <a href="https://i.stack.imgur.com/kR0ax.png" rel="nofollow noreferrer">this</a></p>