With
m = mapwidget.Map(center=[37.655, -122.4175], altitude=400, height='600px')
m
The result is :
KeyError Traceback (most recent call last)
/usr/local/lib/python3.9/dist-packages/traitlets/traitlets.py in get(self, obj, cls)
652 try:
--> 653 value = obj._trait_values[self.name]
654 except KeyError:
KeyError: 'token'
During handling of the above exception, another exception occurred:
TraitError Traceback (most recent call last)
9 frames
/usr/local/lib/python3.9/dist-packages/traitlets/traitlets.py in error(self, obj, value, error, info)
839 describe("the", value),
840 )
--> 841 raise TraitError(e)
842
843 def get_metadata(self, key, default=None):
TraitError: The 'token' trait of a Map instance expected a unicode string, not the NoneType None.