-
-
Notifications
You must be signed in to change notification settings - Fork 484
/
__init__.py
102 lines (90 loc) · 2.46 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
"""
Panel panes renders the Python objects you know and love ❤️
===========================================================
Panes may render anything including plots, text, images, equations etc.
For example Panel contains Bokeh, HoloViews, Matplotlib and Plotly panes.
Check out the Panel gallery of panes
https://panel.holoviz.org/reference/index.html#panes for inspiration.
How to use Panel panes in 2 simple steps
----------------------------------------
1. Define your Python objects
>>> some_python_object = ...
>>> another_python_object = ...
2. Define your panes
>>> pn.pane.SomePane(some_python_object).servable()
>>> pn.pane.AnotherPane(another_python_object).servable()
Most often you don't have to wrap your Python object into a specific
pane. Just add your Python object to `pn.panel`, `pn.Column`, `pn.Row` or
other layouts, then Panel will automatically wrap it in the right pane.
For more detail see the Getting Started Guide
https://panel.holoviz.org/getting_started/index.html
"""
from .alert import Alert # noqa
from .base import PaneBase, panel # noqa
from .deckgl import DeckGL # noqa
from .echarts import ECharts # noqa
from .equation import LaTeX # noqa
from .holoviews import HoloViews, Interactive # noqa
from .image import ( # noqa
GIF, ICO, JPG, PDF, PNG, SVG, Image, WebP,
)
from .ipywidget import IPyLeaflet, IPyWidget, Reacton # noqa
from .markup import ( # noqa
HTML, JSON, DataFrame, Markdown, Str,
)
from .media import Audio, Video # noqa
from .perspective import Perspective # noqa
from .plot import ( # noqa
YT, Bokeh, Matplotlib, RGGPlot,
)
from .plotly import Plotly # noqa
from .streamz import Streamz # noqa
from .textual import Textual # noqa
from .vega import Vega # noqa
from .vizzu import Vizzu # noqa
from .vtk import VTK, VTKVolume # noqa
from ..param import ( # noqa # isort: skip
ParamFunction, ParamMethod, ParamRef, ReactiveExpr,
)
__all__ = (
"Alert",
"Audio",
"Bokeh",
"DataFrame",
"DeckGL",
"ECharts",
"GIF",
"HoloViews",
"HTML",
"ICO",
"Interactive",
"IPyWidget",
"IPyLeaflet",
"JPG",
"JSON",
"LaTeX",
"Markdown",
"Matplotlib",
"PaneBase",
"ParamFunction",
"ParamMethod",
"ParamRef",
"panel",
"PDF",
"Perspective",
"Plotly",
"PNG",
"ReactiveExpr",
"Reacton",
"RGGPlot",
"Str",
"Streamz",
"SVG",
"Textual",
"Vega",
"Video",
"Vizzu",
"VTK",
"VTKVolume",
"YT"
)