// Initialize the random state
self._check_seed(seed)
self._random_state = random.Random(seed)
// Initialize a numpy random state (for numpy random methods)
self._np_random_state = np.random.RandomState(seed=seed)
After Change
// Initialize the random state
self._check_seed(seed)
self._random_state, self._np_random_state = random_state(seed)
// We require a StellarGraph for this
if not isinstance(graph, StellarGraph):