import matplotlib.pyplot as plt def render2D(values:list): """ Render a 2D model using matplotlib :param values: A list with the values """ fig = plt.figure() ax = fig.add_subplot() ax.plot(values) plt.show() def cross_section(x_values:list, y_values:list): """ Render a 2D cross section using matplotlib :param x: A list with the x values :param y: A list with the y values """ fig = plt.figure() ax = fig.add_subplot() ax.scatter(x_values,y_values) plt.show()