title: How can I solve this graph? I want to plot using python
body: <p>Hello Please I need help, I'm new to programming, I started this python code, I wrote the below code using python and it works well, but the problem is, the range of the points stopped at <code>ylimit(1)</code> and <code>xlimit(1)</code>.. I want it to scatter up to <code>ylimit(2)</code> and <code>xlimit(2)</code></p>
  <pre class="lang-py prettyprint-override"><code>import numpy as np
  import matplotlib.pyplot as 
  plt
  
  np.random.seed(14)
  n= 20
  p = 2
  
  x = np.random.random((n,p))
  
  plt.ylim(0, 2)
  plt.xlim(0, 2)
  plt.scatter(x[:,0], x[:,1])
  plt.show()
  </code></pre>
  <p><a href="https://i.stack.imgur.com/XUTIw.png" rel="nofollow noreferrer">this is the output I'm getting</a></p>