We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f2b852 commit 3b2e90dCopy full SHA for 3b2e90d
histogrammar/notebooks/__init__.py
histogrammar/resources.py
@@ -20,20 +20,18 @@
20
21
# Resources lookup file for histogrammar
22
from importlib import resources
23
-import histogrammar.test_data
24
-import histogrammar.notebooks
25
26
27
# data files that are shipped with histogrammar.
28
_DATA = {
29
_.name: _
30
- for _ in resources.files(histogrammar.test_data).iterdir()
+ for _ in resources.files("histogrammar.test_data").iterdir()
31
}
32
33
# Tutorial notebooks
34
_NOTEBOOK = {
35
p.name: p
36
- for p in resources.files(histogrammar.notebooks).iterdir() if p.suffix == ".ipynb"
+ for p in resources.files("histogrammar.notebooks").iterdir() if p.suffix == ".ipynb"
37
38
39
# Resource types
histogrammar/test_data/__init__.py
0 commit comments