Skip to content

Commit

Permalink
Cleaned up top-level namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Dec 21, 2017
1 parent 8b03af9 commit 7aa1ef3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 4 additions & 6 deletions holoviews/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@

from .core import archive, config # noqa (API import)
from .core.dimension import OrderedDict, Dimension # noqa (API import)
from .core.boundingregion import BoundingBox # noqa (API import)
from .core.options import (Options, Store, Cycle, # noqa (API import)
Palette, StoreOptions)
from .core.layout import * # noqa (API import)
from .core.element import * # noqa (API import)
from .core.overlay import * # noqa (API import)
from .core.tree import * # noqa (API import)
Palette)
from .core.layout import Layout, NdLayout, AdjointLayout # noqa (API import)
from .core.element import Collator # noqa (API import)
from .core.overlay import Overlay, NdOverlay # noqa (API import)
from .core.spaces import (HoloMap, Callable, DynamicMap, # noqa (API import)
GridSpace, GridMatrix)

Expand Down
6 changes: 6 additions & 0 deletions holoviews/core/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class Element(ViewableElement, Composable, Overlayable):

group = param.String(default='Element', constant=True)

__abstract = True

def hist(self, dimension=None, num_bins=20, bin_range=None,
adjoin=True, individually=True, **kwargs):
"""
Expand Down Expand Up @@ -246,6 +248,8 @@ class Element2D(Element):
of the Element in 2D space defined as four-tuple
defining the (left, bottom, right and top) edges.""")

__abstract = True


class Element3D(Element2D):

Expand All @@ -255,6 +259,8 @@ class Element3D(Element2D):
in 3D space defined as (xmin, ymin, zmin,
xmax, ymax, zmax).""")

__abstract = True


class Collator(NdMapping):
"""
Expand Down

0 comments on commit 7aa1ef3

Please sign in to comment.