forked from plotly/plotly.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
26 lines (24 loc) · 790 Bytes
/
__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
import sys
from typing import TYPE_CHECKING
if sys.version_info < (3, 7) or TYPE_CHECKING:
from ._colorbar import ColorBar
from ._hoverlabel import Hoverlabel
from ._legendgrouptitle import Legendgrouptitle
from ._stream import Stream
from ._textfont import Textfont
from . import colorbar
from . import hoverlabel
from . import legendgrouptitle
else:
from _plotly_utils.importers import relative_import
__all__, __getattr__, __dir__ = relative_import(
__name__,
[".colorbar", ".hoverlabel", ".legendgrouptitle"],
[
"._colorbar.ColorBar",
"._hoverlabel.Hoverlabel",
"._legendgrouptitle.Legendgrouptitle",
"._stream.Stream",
"._textfont.Textfont",
],
)