GraphingLib 1.4.0 Release Notes#

API changes for more coherent coding#

What’s Changed#

Highlights

  • New Line object

  • Various changes in the API :
    • Methods that return a GraphingLib object or a list of GraphingLib objects start with create_

    • Methods that return information on an object start with get_

    • To display a Figure or MultiFigure use show()

    • To save a Figure or MultiFigure use save()

    • Methods that add visual information to objects (histogram PDF, etc.) start with add_

    • Methods used to set properties not set in the object constructor start with set_

    • add_element() is now add_elements()

    • MultiFigure’s add_sub_figure() is now add_figure()

More changes

  • A rotation can be applied to custom ticks

  • By default a Figure has no axis labels

  • Getting coordinates on a Curve is now separated from creating points on it

  • Axis limits can be specified for TwinAxis

  • Coordinates can be obtained from a Point with get_coordinates()

Bug fixes

  • Fixed bug where rcParams in MultiFigure were not carried over to subfigures

  • The get_area_between() fill_under_color is the same as the Curve color and not cycling independently

  • Self imports now working with Python 3.10

  • Fixed bug where rcParams were not set when passed to _prepare_figure()