code: def _(dist: UniformDistribution, size, seed):
      # https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.uniform.html
      return scipy.stats.uniform.rvs(
          loc=float(dist.left),
          scale=float(dist.right - dist.left),
          size=size,
          random_state=seed,
      )
  
imports: from functools import singledispatch
  from sympy.core.symbol import Dummy
  from sympy.functions.elementary.exponential import exp
  from sympy.utilities.lambdify import lambdify
  from sympy.external import import_module
  from sympy.stats import DiscreteDistributionHandmade
  from sympy.stats.crv import SingleContinuousDistribution
  from sympy.stats.crv_types import ChiSquaredDistribution, ExponentialDistribution, GammaDistribution, LogNormalDistribution, NormalDistribution, ParetoDistribution, UniformDistribution, BetaDistribution, StudentTDistribution, CauchyDistribution
  from sympy.stats.drv_types import GeometricDistribution, LogarithmicDistribution, NegativeBinomialDistribution, PoissonDistribution, SkellamDistribution, YuleSimonDistribution, ZetaDistribution
  from sympy.stats.frv import SingleFiniteDistribution
label_desc: Use image node_id 10 for calling a global function with example usage: _(dist, size, seed) and returns: scipy