src/pys5p/lib/plotlib.py
def add(self, key: str, value, fmt='{}') -> None:
        """
        Extent fig_info with a new line

        Parameters
        ----------
        key : str
          Name of the fig_info key.
        value : Any python variable
          Value of the fig_info key. A tuple will be formatted as *value.
        fmt : str
          Convert value to a string, using the string format method.
          Default: '{}'.
        """
        if isinstance(value, tuple):
            self.fig_info.update({key: fmt.format(*value)})
        else:
            self.fig_info.update({key: fmt.format(value)})

        Extent fig_info with a new line

        Parameters
        ----------
        key : str
          Name of the fig_info key.
        value : Any python variable
          Value of the fig_info key. A tuple will be formatted as *value.
        fmt : str
          Convert value to a string, using the string format method.
          Default: '{}'.
        
Extent fig_info with a new line
Parameters

key : str
Name of the fig_info key.
value : Any python variable
Value of the fig_info key. A tuple will be formatted as *value.
fmt : str
Convert value to a string, using the string format method.
Extent fig_info with a new line Parameters key : str Name of the fig_info key . value : Any python variable Value of the fig_info key . A tuple will be formatted as * value . fmt : str Convert value to a string using the string format method .
def add(self, key: str, value, fmt='{}') -> None:
        if isinstance(value, tuple):
            self.fig_info.update({key: fmt.format(*value)})
        else:
            self.fig_info.update({key: fmt.format(value)})
def add ( self , key : str , value , fmt = '{}' ) -> None : if isinstance ( value , tuple ) : self . fig_info . update ( { key : fmt . format ( * value ) } ) else : self . fig_info . update ( { key : fmt . format ( value ) } )
Extent fig_info with a new line
Parameters
Extent fig_info with a new line Parameters
"""
        Extent fig_info with a new line

        Parameters
        ----------
        key : str
          Name of the fig_info key.
        value : Any python variable
          Value of the fig_info key. A tuple will be formatted as *value.
        fmt : str
          Convert value to a string, using the string format method.
          Default: '{}'.
        """
self
key
str
value
fmt