code: def test_default_layer_attributes():
      settings.default_layer_attributes = {
          "ScatterplotLayer": {"extra_attribute": 1, "radius": 1}
      }
  
      test_layer = Layer(
          "ScatterplotLayer",
          data=df,
          radius=10,
      )
  
      json_input = json.loads(Deck(test_layer).to_json())
  
      assert json_input["layers"][0]["@@type"] == "ScatterplotLayer"
      assert json_input["layers"][0]["extraAttribute"] == 1
      assert json_input["layers"][0]["radius"] == 10
  
imports: import json
  import pandas
  import numpy
  from pydeck import Layer, Deck, settings
label_desc: Use image node_id 2 for calling a global function with example usage: test_default_layer_attributes() without return types