def _same_type(self, graphic1, graphic2):
        """Determine if two graphics are of the same type."""
        if type(graphic1) is not type(graphic2):
            return False
        if type(graphic1) is mpl.patches.Polygon: ## huh?
            return True
        if len(graphic1.get_xdata()) == len(graphic2.get_xdata()):
            return True
        return len(graphic1.get_xdata()) > 1 and 1 > len(graphic2.get_xdata())
dataset/ETHPy150Open cgarrard/osgeopy-code/ospybook/ospybook/simplevectorplotter.py/SimpleVectorPlotter._same_type/swapped operands of `>`