matplotlib で AttributeError: max must be larger than min in range parameter