GraphingLib 1.4.0 Release Notes#
API changes for more coherent coding#
What’s Changed#
Highlights
New
Lineobject- 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
FigureorMultiFigureuseshow()To save a
FigureorMultiFigureusesave()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 nowadd_elements()MultiFigure’sadd_sub_figure()is nowadd_figure()
More changes
A rotation can be applied to custom ticks
By default a
Figurehas no axis labelsGetting coordinates on a
Curveis now separated from creating points on itAxis limits can be specified for
TwinAxisCoordinates can be obtained from a
Pointwithget_coordinates()
Bug fixes
Fixed bug where
rcParamsinMultiFigurewere not carried over to subfiguresThe
get_area_between()fill_under_coloris the same as theCurvecolor and not cycling independentlySelfimports now working with Python 3.10Fixed bug where
rcParamswere not set when passed to_prepare_figure()