code: def test_plugin_registry_extra_options():
      plugins = GeneralCallableRegistry()
  
      plugins.register("metadata_plugin", lambda x, p=2: x**p)
      plugins.enable("metadata_plugin")
      assert plugins.get()(3) == 9
  
      plugins.enable("metadata_plugin", p=3)
      assert plugins.active == "metadata_plugin"
      assert plugins.get()(3) == 27
  
      # enabling without changing name
      plugins.enable(p=2)
      assert plugins.active == "metadata_plugin"
      assert plugins.get()(3) == 9
  
file_path: altair/tests/utils/test_plugin_registry.py
imports: from altair.utils.plugin_registry import PluginRegistry
  from typing import Callable
label_desc: Use image node_id 2 for calling a global function with example usage: test_plugin_registry_extra_options() without return types