def test_function():
    coordinate_system = cartesius.CoordinateSystem()

    f = lambda x : math.sin(x) * 2
    coordinate_system.add(charts.Function(f, start=-4, end=5, step=0.02, color=0x0000ff))

    return coordinate_system.draw(300, 200), coordinate_system.draw(300, 200, antialiasing=True)
Function math.sin from -4 to 5
dataset/ETHPy150Open tkrajina/cartesius/create_images_and_readme.py/test_function