Skip to content

Commit 284e020

Browse files
committed
fix documentation format
1 parent 6e6b070 commit 284e020

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ipyleaflet/leaflet.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ class Popup(UILayer):
498498
close_on_escape_key = Bool(True).tag(sync=True, o=True)
499499

500500
def open_popup(self, location=None):
501-
""" Open the popup on the bound map
501+
"""Open the popup on the bound map.
502502
503503
Parameters
504504
----------
@@ -511,10 +511,11 @@ def open_popup(self, location=None):
511511
self.send({'msg': 'open', 'location': self.location if location is None else location})
512512

513513
def close_popup(self):
514-
""" Close the popup on the bound map """
514+
"""Close the popup on the bound map."""
515515

516516
self.send({'msg': 'close'})
517517

518+
518519
class RasterLayer(Layer):
519520
"""Abstract RasterLayer class.
520521

0 commit comments

Comments
 (0)