In [1]:
%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], color="#D8443A")
In [6]:
canvas.add_line(line)
In [7]:
canvas.draw()
canvas.figure
Out[7]: