Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion dascore/viz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
Module for static, matplotlib-based visualizations and figure generation.
"""
from __future__ import annotations
from dascore.utils.namespace import PatchNameSpace
from dascore.utils.namespace import InventoryNameSpace, PatchNameSpace

from .spectrogram import spectrogram
from .specplot import specplot
from .waterfall import waterfall
from .wiggle import wiggle
from .map_fiber import map_fiber
from .inventory import map_path, path, timeline


class VizPatchNameSpace(PatchNameSpace):
Expand All @@ -21,3 +22,13 @@ class VizPatchNameSpace(PatchNameSpace):
specplot = specplot
wiggle = wiggle
map_fiber = map_fiber


class VizInventoryNameSpace(InventoryNameSpace):
"""The plots an inventory can draw of itself."""

name = "viz"

path = path
map = map_path
timeline = timeline
Loading
Loading