title: Numpy random seed valid for entire jupyter notebook
body: <p>I'm using functions from <code>numpy.random</code> on a Jupyter Lab notebook and I'm trying to set the seed using <code>numpy.random.seed(333)</code>. This works as expected only when the seed setting is in the same notebook cell as the code. For example, if I have a script like this:</p>
  
  <pre><code>import numpy as np
  
  np.random.seed(44)
  
  ll = [3.2,77,4535,123,4]
  
  print(np.random.choice(ll))
  print(np.random.choice(ll))
  </code></pre>
  
  <p>The output from both <code>np.random.choice(ll)</code> will be same, because the seed is set:</p>
  
  <pre><code># python seed.py
  4.0 
  123.0
  # python seed.py
  4.0
  123.0
  </code></pre>
  
  <p>Now, if I try to do the same on the Jupyter notebook, I get different results:</p>
  
  <pre><code># in [11]
  import numpy as np
  # even if I set the seed here the other cells don't see it
  np.random.seed(333)
  
  # in [12]
  np.random.choice([1,23,44,3,2])
  23
  # gets the same numbers
  
  # in [13]
  np.random.choice([1,23,44,3,2])
  44
  # gets different numbers every time I run this cell again
  </code></pre>
  
  <p>Is there a way to set the numpy random seed globally in a Jupyter lab notebook?</p>