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 003b6f8 commit 0abadbbCopy full SHA for 0abadbb
histogrammar/resources.py
@@ -20,18 +20,19 @@
20
21
# Resources lookup file for histogrammar
22
from importlib import resources
23
+from histogrammar import test_data, notebooks
24
25
26
# data files that are shipped with histogrammar.
27
_DATA = {
28
_.name: _
- for _ in resources.files("histogrammar.test_data").iterdir()
29
+ for _ in resources.files(test_data).iterdir()
30
}
31
32
# Tutorial notebooks
33
_NOTEBOOK = {
34
p.name: p
- for p in resources.files("histogrammar.notebooks").iterdir() if p.suffix == ".ipynb"
35
+ for p in resources.files(notebooks).iterdir() if p.suffix == ".ipynb"
36
37
38
# Resource types
0 commit comments