CubeSlicer

class kgpy.plot.CubeSlicer(cube, figsize=(6, 4), projection=None, **kwargs)

Bases: object

Parameters

figsize (Tuple[float, float]) –

__init__(cube, figsize=(6, 4), projection=None, **kwargs)
Parameters

figsize (Tuple[float, float]) –

Methods

__init__(cube[, figsize, projection])

onscroll(event)

save(path)

Method defined to save each image in the cube.

set_data(X)

update()

Inheritance Diagram

Inheritance diagram of kgpy.plot.CubeSlicer

onscroll(event)
save(path)

Method defined to save each image in the cube. Images are saved in directory “path” in order as i.png :type path: str :param path: :return:

Parameters

path (str) –

set_data(X)
update()