AnalyseMorphologique/utils/graph2D/plots.py

11 lines
241 B
Python

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()