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

digraph inheritance64817478b2 { bgcolor=transparent; rankdir=TB; size="8.0, 12.0"; "kgpy.plot.CubeSlicer" [URL="kgpy.plot.CubeSlicer.html#kgpy.plot.CubeSlicer",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; }
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()