We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ce495 commit 5978e7dCopy full SHA for 5978e7d
fastplotlib/__init__.py
@@ -4,6 +4,7 @@
4
from .graphics import *
5
from .graphics.selectors import *
6
from .legends import *
7
+from .utils import _notebook_print_banner, config
8
9
from wgpu.gui.auto import run
10
@@ -16,13 +17,15 @@
16
17
18
from wgpu.backends.wgpu_native import enumerate_adapters
19
20
+with open(Path(__file__).parent.joinpath("VERSION"), "r") as f:
21
+ __version__ = f.read().split("\n")[0]
22
+
23
adapters = [a.request_adapter_info() for a in enumerate_adapters()]
24
25
if len(adapters) < 1:
26
raise IndexError("No WGPU adapters found, fastplotlib will not work.")
27
-with open(Path(__file__).parent.joinpath("VERSION"), "r") as f:
- __version__ = f.read().split("\n")[0]
28
+_notebook_print_banner()
29
30
__all__ = [
31
"Plot",
0 commit comments