Skip to content

Commit

Permalink
Renamed CubeData to CubeInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 21, 2016
1 parent 2030ab8 commit b548f07
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions holocube/element/cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ def points(self, kdims=None, vdims=None, mdims=None, **kwargs):



class CubeData(GridColumns):
class CubeInterface(GridColumns):
"""
CubeData provides the interface, which allows HoloViews to
interact with iris Cube data. When passing an iris Cube
to a HoloViews Element the init method will infer the
dimensions of the HoloCube from its coordinates. Currently
the interface only provides the basic methods required for
HoloViews to work with an object.
The CubeInterface provides allows HoloViews to interact
with iris Cube data. When passing an iris Cube to a
HoloViews Element the init method will infer the
dimensions of the HoloCube from its coordinates.
Currently the interface only provides the basic methods
required for HoloViews to work with an object.
"""

types = (iris.cube.Cube,)
Expand Down Expand Up @@ -182,4 +182,4 @@ def length(cls, holocube):
return np.product([len(d.points) for d in holocube.data.coords()])


DataColumns.register(CubeData)
DataColumns.register(CubeInterface)

0 comments on commit b548f07

Please sign in to comment.