Skip to content

Commit

Permalink
wms
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Mar 13, 2021
1 parent 685a3ad commit ad6d701
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions climetlab/plotting/wms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ def start_wms():
SERVERS = {}


def cb(*args, **kwargs):
print(args, kwargs)
# def gone(*args, **kwargs):
# print('gone', args, kwargs)


def interactive_map(obj, **kwargs):
Expand Down Expand Up @@ -233,4 +233,7 @@ def interactive_map(obj, **kwargs):
if bbox is not None:
m.fit_bounds([[bbox.south, bbox.east], [bbox.north, bbox.west]])

# import weakref
# availability.map = weakref.ref(m, gone)

return display(m)
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def read(fname):
"tqdm",
"requests",
"eccodes>=0.9.9",
"magics>=1.5.6",
# "magics>=1.5.6",
"magics>=1.5",
"ecmwflibs>=0.0.91",
"pdbufr",
"pyodc",
Expand Down

0 comments on commit ad6d701

Please sign in to comment.