In [2]:
%matplotlib inline
In [3]:
from catplot.ep_components.ep_canvas import EPCanvas
from catplot.ep_components.ep_lines import ElementaryLine
In [4]:
canvas = EPCanvas()
In [5]:
line = ElementaryLine([0.0, 1.2, 0.8])
In [6]:
canvas.add_line(line)
In [7]:
canvas.draw()
In [10]:
canvas.figure
Out[10]: