In [1]:
%matplotlib inline
In [2]:
from catplot.ep_components.ep_canvas import EPCanvas
canvas = EPCanvas()
In [3]:
from catplot.ep_components.ep_lines import ElementaryLine
line = ElementaryLine([0.0, 1.2, 0.7], color="#E51D1D")
In [4]:
canvas.add_line(line)
In [5]:
canvas.add_horizontal_auxiliary_line(line)
Out[5]:
In [7]:
canvas.add_vertical_auxiliary_lines(line)
Out[7]:
In [8]:
canvas.draw()
In [9]:
canvas.figure
Out[9]: