code: def test_mcmc_improper_uniform(self):
      import numpyro
      import numpyro.distributions as dist
      from numpyro.infer import MCMC, NUTS
  
      def model():
          x = numpyro.sample(
              "x",
              dist.ImproperUniform(dist.constraints.positive, (), ()),
          )
          return numpyro.sample("y", dist.Normal(x, 1), obs=1.0)
  
      mcmc = MCMC(NUTS(model), num_warmup=10, num_samples=10)
      mcmc.run(PRNGKey(0))
      inference_data = from_numpyro(mcmc)
      assert inference_data.observed_data
  
file_path: arviz/arviz/tests/external_tests/test_data_numpyro.py
imports: from collections import namedtuple
  import numpy
  import pytest
  from ...data.io_numpyro import from_numpyro
  from ..helpers import chains, check_multiple_attrs, draws, eight_schools_params, importorskip, load_cached_models
label_desc: Use image node_id 13 for calling the TestDataNumPyro obj's underlying member method code with example usage: obj.test_mcmc_improper_uniform() and returns: numpyro