title: Customizing X-Axis Matplotlib Python
body: <p>I am currently facing a problem regarding customizing the x-Axis in a Python plot I made. 
  I have the following plot:
  <a href="https://i.stack.imgur.com/gIP8U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gIP8U.png" alt="enter image description here"></a></p>
  
  <p>And this is the respective Python Code:</p>
  
  <pre><code>    import pandas as pd
  import matplotlib.pyplot as plt
  import numpy as np
  df = pd.read_csv("/Users/lukaskoston/Desktop/MasterarbeitFOMCAnalysis/02_Cleaning Process/Wordcount Raw.csv", delimiter=";")
  print(df.head)
  print(df.info)
  x = df['Date'].values
  y = df['Wordcount'].values
  
  plt.title("Size of FOMC statements measured in total used words")
  plt.ylabel("Amount of words")
  plt.xlabel("Years")
  plt.plot(np.array(x) / 1000, y)
  plt.show()
  </code></pre>
  
  <p>The Data looks as follows (example), total observations = 170, for the range from 1999 to 2019.</p>
  
  <p><a href="https://i.stack.imgur.com/xYSde.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xYSde.png" alt="enter image description here"></a></p>
  
  <p><strong>My question</strong>: I would like to customize the x-Axis, so that it ranges from 1999 to 2019.
  I was not able to do this...</p>
  
  <p>Can anyone please help?</p>