class Coordinate:
    """ A Z-Tree plot coordinate
    """

    def __init__(self, x=0.00, y=0.00, x_id="x", y_id="y"):
        """
        :param x: x coordinate
        :param y: y coordinate
        :param x_id: x coordinate id
        :type x_id: str
        :param y_id: y coordinate id
        :type y_id: str
        :return:
        :rtype:
        """
        self.x = x
        self.y = y
        self.x_id = x_id
        self.y_id = y_id
        self.template = '\t{} = {};\n\t{} = {};\n'

    def to_str(self):
        """
        Converts the coordinate object to a z-tree plot coordinate declaration
        :return: z-tree coordinate declaration
        :rtype: str
        """
        return self.template.format(self.x_id, self.x, self.y_id, self.y)


749e537f491154825a86f746c38176511eb440a7
class Coordinate:
    <mask token>
    <mask token>
    <mask token>

class Coordinate:
    <mask token>

    def __init__(self, x=0.0, y=0.0, x_id='x', y_id='y'):
        """
        :param x: x coordinate
        :param y: y coordinate
        :param x_id: x coordinate id
        :type x_id: str
        :param y_id: y coordinate id
        :type y_id: str
        :return:
        :rtype:
        """
        self.x = x
        self.y = y
        self.x_id = x_id
        self.y_id = y_id
        self.template = '\t{} = {};\n\t{} = {};\n'
    <mask token>

class Coordinate:
    <mask token>

    def __init__(self, x=0.0, y=0.0, x_id='x', y_id='y'):
        """
        :param x: x coordinate
        :param y: y coordinate
        :param x_id: x coordinate id
        :type x_id: str
        :param y_id: y coordinate id
        :type y_id: str
        :return:
        :rtype:
        """
        self.x = x
        self.y = y
        self.x_id = x_id
        self.y_id = y_id
        self.template = '\t{} = {};\n\t{} = {};\n'

    def to_str(self):
        """
        Converts the coordinate object to a z-tree plot coordinate declaration
        :return: z-tree coordinate declaration
        :rtype: str
        """
        return self.template.format(self.x_id, self.x, self.y_id, self.y)

class Coordinate:
    """ A Z-Tree plot coordinate
    """

    def __init__(self, x=0.0, y=0.0, x_id='x', y_id='y'):
        """
        :param x: x coordinate
        :param y: y coordinate
        :param x_id: x coordinate id
        :type x_id: str
        :param y_id: y coordinate id
        :type y_id: str
        :return:
        :rtype:
        """
        self.x = x
        self.y = y
        self.x_id = x_id
        self.y_id = y_id
        self.template = '\t{} = {};\n\t{} = {};\n'

    def to_str(self):
        """
        Converts the coordinate object to a z-tree plot coordinate declaration
        :return: z-tree coordinate declaration
        :rtype: str
        """
        return self.template.format(self.x_id, self.x, self.y_id, self.y)

class Coordinate:
    """ A Z-Tree plot coordinate
    """

    def __init__(self, x=0.00, y=0.00, x_id="x", y_id="y"):
        """
        :param x: x coordinate
        :param y: y coordinate
        :param x_id: x coordinate id
        :type x_id: str
        :param y_id: y coordinate id
        :type y_id: str
        :return:
        :rtype:
        """
        self.x = x
        self.y = y
        self.x_id = x_id
        self.y_id = y_id
        self.template = '\t{} = {};\n\t{} = {};\n'

    def to_str(self):
        """
        Converts the coordinate object to a z-tree plot coordinate declaration
        :return: z-tree coordinate declaration
        :rtype: str
        """
        return self.template.format(self.x_id, self.x, self.y_id, self.y)

