code: def gen_scale_args():
      positional_args = ["a"]  # aesthetic
      positional_args_as_dict = {"aesthetic": "a"}
      kwargs = {"name": "n", "other1": 1, "other2": 2}
  
      expected = positional_args_as_dict.copy()
      expected.update(kwargs)
      return positional_args, kwargs, expected
  
imports: import pytest
  import lets_plot
  from lets_plot.plot.core import FeatureSpec
  from lets_plot.plot.core import FeatureSpecArray
  from lets_plot.plot.scale import _scale
label_desc: Use image node_id 1 for calling a global function with example usage: gen_scale_args() and returns: positional_args,  kwargs,  expected