plot#

class predict_backend.page.elements.plot.Plot(title, is_primary, _type, x_axis, y_axis, data, has_tooltip, orientation, data_keys, description='', color_by=None, show_title=True, show_description=True, colors=None, advanced_tooltip=None, lines=[], legend=None)#

Bases: Element

static is_valid_plot_type(s)#
Return type:

bool

class predict_backend.page.elements.plot.PlotAxisScale(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: Enum

AUTO = 'auto'#
BAND = 'band'#
IDENTITY = 'identity'#
LINEAR = 'linear'#
LOGARITHMIC = 'log'#
ORDINAL = 'ordinal'#
POINT = 'point'#
POW = 'pow'#
QUANTILE = 'quantile'#
QUANTIZE = 'quantize'#
SEQUENTIAL = 'sequential'#
SQUARE_ROOT = 'sqrt'#
THRESHOLD = 'threshold'#
TIME = 'time'#
UTC = 'utc'#
class predict_backend.page.elements.plot.PlotAxisType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: Enum

CATEGORY = 'category'#
NUMBER = 'number'#
class predict_backend.page.elements.plot.PlotDataType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: Enum

CATEGORY = 'category'#
DATE = 'date'#
NUMBER = 'number'#
class predict_backend.page.elements.plot.PlotOrientation(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: Enum

LANDSCAPE = 'landscape'#
PORTRAIT = 'portrait'#
class predict_backend.page.elements.plot.PlotType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: Enum

BAR = 'bar'#
LINE = 'line'#
PLOTLY = 'plotly'#
SCATTER = 'scatter'#
WATERFALL = 'waterfall'#
class predict_backend.page.elements.plot.TooltipStatus(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: Enum

ERROR = 'error'#
PENDING = 'pending'#
SUCCESS = 'success'#
class predict_backend.page.elements.plot.XAxisOrientation(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: Enum

BOTTOM = 'bottom'#
TOP = 'top'#
class predict_backend.page.elements.plot.YAxisOrientation(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: Enum

LEFT = 'left'#
RIGHT = 'right'#