Skip to content

Commit

Permalink
add missing docstring (#7072)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSkovMadsen authored Aug 4, 2024
1 parent 2ecc982 commit 3c1ce39
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions panel/layout/float.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
class FloatPanel(ListLike, ReactiveHTML):
"""
Float provides a floating panel layout.
Reference: https://panel.holoviz.org/reference/layouts/FloatPanel.html
:Example:
>>> import panel as pn
>>> pn.extension("floatpanel")
>>> pn.layout.FloatPanel("**I can float**!", position="center", width=300).servable()
"""

config = param.Dict({}, doc="""
Expand Down

0 comments on commit 3c1ce39

Please sign in to comment.