code: def _get_marginal_layers_props(
      marginal=None,
      binwidth2d=None,
      bins2d=None,
      color=None,
      color_by=None,
      show_legend=None,
  ):
      return {
          "marginal": marginal,
          "binwidth2d": binwidth2d,
          "bins2d": bins2d,
          "color": color,
          "color_by": color_by,
          "show_legend": show_legend,
      }
  
file_path: lets-plot/python-package/test/plot/test_bistro_common.py
imports: import pytest
  from lets_plot.bistro._plot2d_common import _get_bin_params_2d, _get_geom2d_layer, _get_marginal_layers
label_desc: Use image node_id 9 for calling a global function with example usage: _get_marginal_layers_props(marginal, binwidth2d, bins2d, color, color_by, show_legend) and returns: dict