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
orMultiFigure
useshow()
To save a
Figure
orMultiFigure
usesave()
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
Figure
has no axis labelsGetting coordinates on a
Curve
is now separated from creating points on itAxis limits can be specified for
TwinAxis
Coordinates can be obtained from a
Point
withget_coordinates()
Bug fixes
Fixed bug where
rcParams
inMultiFigure
were not carried over to subfiguresThe
get_area_between()
fill_under_color
is the same as theCurve
color and not cycling independentlySelf
imports now working with Python 3.10Fixed bug where
rcParams
were not set when passed to_prepare_figure()