def test_filled_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))

    g = lambda x : math.sin(x) * 2
    coordinate_system.add(charts.Function(g, start=1, end=4, step=0.02, fill_color=(200, 255, 200)))

    return coordinate_system.draw(300, 200), coordinate_system.draw(300, 200, antialiasing=True)
Tests for missing parent nodes.
dataset/ETHPy150Open tkrajina/cartesius/create_images_and_readme.py/test_filled_function--crossover with--dataset/ETHPy150Open django/django/tests/migrations/test_graph.py/GraphTests.test_missing_parent_nodes