qcodes/plots/base.py
def replace(self, *args, updater=None, **kwargs):
        """
        Clear all content and add new trace.

        Args:
            args: optional way to provide x/y/z data without keywords
                If the last one is 1D, may be `y` or `x`, `y`
                If the last one is 2D, may be `z` or `x`, `y`, `z`

            updater: a callable (with no args) that updates the data in this trace
                if omitted, we will look for DataSets referenced in this data, and
                call their sync methods.

            **kwargs: passed on to self.add()
        """
        self.clear()
        self.add(*args, updater=updater, **kwargs)

        Clear all content and add new trace.

        Args:
            args: optional way to provide x/y/z data without keywords
                If the last one is 1D, may be `y` or `x`, `y`
                If the last one is 2D, may be `z` or `x`, `y`, `z`

            updater: a callable (with no args) that updates the data in this trace
                if omitted, we will look for DataSets referenced in this data, and
                call their sync methods.

            **kwargs: passed on to self.add()
        
Clear all content and add new trace.
Clear all content and add new trace .
def replace(self, *args, updater=None, **kwargs):
        self.clear()
        self.add(*args, updater=updater, **kwargs)
def replace ( self , * args , updater = None , ** kwargs ) : self . clear ( ) self . add ( * args , updater = updater , ** kwargs )
Clear all content and add new trace.
Clear all content and add new trace .
"""
        Clear all content and add new trace.

        Args:
            args: optional way to provide x/y/z data without keywords
                If the last one is 1D, may be `y` or `x`, `y`
                If the last one is 2D, may be `z` or `x`, `y`, `z`

            updater: a callable (with no args) that updates the data in this trace
                if omitted, we will look for DataSets referenced in this data, and
                call their sync methods.

            **kwargs: passed on to self.add()
        """
self
updater
a callable (with no args) that updates the data in this trace
if omitted, we will look for DataSets referenced in this data, and
call their sync methods.
a callable ( with no args ) that updates the data in this trace if omitted we will look for DataSets referenced in this data and call their sync methods .
args
optional way to provide x/y/z data without keywords
If the last one is 1D, may be `y` or `x`, `y`
If the last one is 2D, may be `z` or `x`, `y`, `z`
optional way to provide x / y / z data without keywords If the last one is 1D may be ` y ` or ` x ` ` y ` If the last one is 2D may be ` z ` or ` x ` ` y ` ` z `
**kwargs
passed on to self.add()
passed on to self . add ()