Skip to content

Commit

Permalink
Make MapStyle work in jupyter lab
Browse files Browse the repository at this point in the history
_{view|model}_module_version was incorrect preventing module loading
in jupyter lab
  • Loading branch information
Kirill888 committed May 3, 2019
1 parent 8ee7865 commit 39a44b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ipyleaflet/leaflet.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,9 @@ class MapStyle(Style, Widget):
""" Map Style Widget """
_model_name = Unicode('LeafletMapStyleModel').tag(sync=True)
_model_module = Unicode("jupyter-leaflet").tag(sync=True)

_model_module_version = Unicode(EXTENSION_VERSION).tag(sync=True)

cursor = Enum(values=allowed_cursor, default_value='grab').tag(sync=True)


Expand Down

0 comments on commit 39a44b3

Please sign in to comment.