visualization

class Panel(width, height, *, extent)

Bases: object

Parameters:

extent (tuple[float, float, float, float])

dimension(orientation)
Return type:

float

Parameters:

orientation (Literal['vertical', 'horizontal'])

divide(*, sizes=None, sizes_absolute=None, spacing=None, spacing_absolute=None, orientation)
Return type:

list[Self]

Parameters:
property extent: tuple[float, float, float, float]
get_ax(fig, label=None, label_offset=(-0.75, 0.25), spines=(True, True, False, False))
Parameters:
property height: float
start(orientation)
Return type:

float

Parameters:

orientation (Literal['vertical', 'horizontal'])

property width: float
add_xtick_box(center, width, ax, y='bottom', offset_in_inches=0.03, height_in_inches=0.2, text=None, color=None, **kwargs)
add_xtick_boxes(ticks, width, ax, labels=None, colors=None, disable_ticks=True, y='bottom', **kwargs)
add_ytick_box(center, height, ax, x='left', offset_in_inches=0.03, width_in_inches=0.2, text=None, color=None, text_rotation=90, **kwargs)
add_ytick_boxes(ticks, height, ax, labels=None, colors=None, disable_ticks=True, x='left', **kwargs)
adjust_lightness(color, amount)
get_box_height(height_in_inches, ax)
get_box_width(width_in_inches, ax)
get_instance_range(instance, padding=0)
Return type:

tuple[tuple[float, float], tuple[float, float]]

Parameters:
get_trajectory_range(trajectory, padding=0)
Return type:

tuple[tuple[float, float], tuple[float, float]]

Parameters: