code: def test_defaults():
      @annotate(n=10)
      def f(n, f=4.5, g=1):
          pass
  
      c = interactive(f)
      check_widgets(
          c,
          n=dict(
              cls=widgets.IntSlider,
              value=10,
          ),
          f=dict(
              cls=widgets.FloatSlider,
              value=4.5,
          ),
          g=dict(
              cls=widgets.IntSlider,
              value=1,
          ),
      )
  
imports: from __future__ import print_function
  import os
  from collections import OrderedDict
  import pytest
  import ipywidgets
  from traitlets import TraitError
  from ipywidgets import interact, interact_manual, interactive, interaction, Output
  from ipython_genutils.py3compat import annotate
  from .utils import setup, teardown
label_desc: Use image node_id 19 for calling a global function with example usage: test_defaults() without return types