code: def test_defaults(self):
      fig = Figure(_map=Map())
      assert fig._toolbar is None
      assert fig._errors_box is None
  
imports: import unittest
  import traitlets
  from ..figure import figure, Figure, FigureLayout
  from ..maps import Map
  from ..toolbar import Toolbar
  from ..errors_box import ErrorsBox
label_desc: Use image node_id 1 for calling the TestFigure obj's underlying member method code with example usage: obj.test_defaults() without return types