utils.graph2D.visplot_render.cross_section
- utils.graph2D.visplot_render.cross_section(x_values: list, y_values: list, title: str, xlabel='', ylabel='', show: bool = True) Fig | None
Render a 2D cross section using vispy
- Parameters:
x – A list with the x values
y – A list with the y values
title – Title of the plot
xlabel – Label of the x axis
ylabel – Label of the y axis
show – If True, show the plot in its own window, else return the canvas