code: def test_marginal_ranges():
      df = px.data.tips()
      fig = px.scatter(
          df,
          x="total_bill",
          y="tip",
          marginal_x="histogram",
          marginal_y="histogram",
          range_x=[5, 10],
          range_y=[5, 10],
      )
      assert fig.layout.xaxis2.range is None
      assert fig.layout.yaxis3.range is None
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_optional/test_px/test_px.py
imports: import plotly.express
  import plotly.io
  import numpy
  import pytest
  from itertools import permutations
label_desc: Use image node_id 11 for calling a global function with example usage: test_marginal_ranges() without return types