carsearch.py
def convert_to_px(self, coordinates):
        """Converts coordinates expressed in cells to pixels."""
        converted = []
        for entry in coordinates:
            if isinstance(entry, list) or isinstance(entry, tuple):
                converted_entry = self.convert_to_px(entry)
            else:
                converted_entry = entry * self.pix_in_cell
            converted.append(converted_entry)
        return converted
Converts coordinates expressed in cells to pixels.
Converts coordinates expressed in cells to pixels.
Converts coordinates expressed in cells to pixels .
def convert_to_px(self, coordinates):
        converted = []
        for entry in coordinates:
            if isinstance(entry, list) or isinstance(entry, tuple):
                converted_entry = self.convert_to_px(entry)
            else:
                converted_entry = entry * self.pix_in_cell
            converted.append(converted_entry)
        return converted
def convert_to_px ( self , coordinates ) : converted = [ ] for entry in coordinates : if isinstance ( entry , list ) or isinstance ( entry , tuple ) : converted_entry = self . convert_to_px ( entry ) else : converted_entry = entry * self . pix_in_cell converted . append ( converted_entry ) return converted
Converts coordinates expressed in cells to pixels.
Converts coordinates expressed in cells to pixels .
"""Converts coordinates expressed in cells to pixels."""
self
coordinates