def plot(self, name, **kwargs):
        """Defines an object property displayed as a plot.

        Args:
            name: the name of the property
            config (None): the chart config
            layout (None): the chart layout

        See :class:`PlotlyView` for more information.
        """
        plot = PlotlyView(**kwargs)
        obj = Object()
        self.define_property(name, obj, view=plot)
        return obj
Defines an object property displayed as a plot.

        Args:
            name: the name of the property
            config (None): the chart config
            layout (None): the chart layout

        See :class:`PlotlyView` for more information.
        
fiftyone/operators/types.py