graphinglib.FitFromFOTF.to_desmos#

FitFromFOTF.to_desmos(decimal_precision: int = 2, to_clipboard: bool = False) str#

Gives the data points in a Desmos-readable format. The outputted string can then be pasted into a single Desmos cell and the object’s data will be displayed.

Parameters:
decimal_precisionint, optional

Specifies the number of decimals of the formatted points. Defaults to 2.

to_clipboardbool, optional

Specifies whether the points should be directly copied to the user’s clipboard in addition to being returned as a string. Defaults to False.

Returns:
formatted pointsstr

A list of tuples representing every data point.