code: def test_catch_map_type_change_in_map(self):
      fig = Figure(_map=Map(), map_type="HYBRID")
      fig._map.map_type = "TERRAIN"
      assert fig.map_type == "TERRAIN"
  
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 8 for calling the TestFigure obj's underlying member method code with example usage: obj.test_catch_map_type_change_in_map() without return types