Login
Back to bricks list
Introduction Version

PlotlyRField

R field to serialize and deserialize plotly figures

Attributes

include_in_dict_view: boolsearchable: bool

Functions

__INIT__
               Only small amount of data can be mark as searchable, defaults to False
                  Support primitive value, Type of Callable function
                  If type or callable, it will be called without parameter to initialise the default value, defaults to None
                  Do not mark huge fields as include in dict view, defaults to False
DESERIALIZE
Parameters:
NameTypeDefault valueDescription
r_field_valueAny
Return type:
Figure
GET_DEFAULT_VALUE
Return type:
Any
SERIALIZE
Parameters:
NameTypeDefault valueDescription
r_field_valueFigure
Return type:
Any
FIGURE_TO_DICT - @staticmethod
Parameters:
NameTypeDefault valueDescription
figureFigure
Return type:
dict