Why is isort
changing my imports from
import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
into
import matplotlib.pyplot as plt
import numpy as np
import matplotlib as mpl
PEP8 says:
Imports should be grouped in the following order:
Standard library imports. Related third party imports. Local application/library specific imports.
You should put a blank line between each group of imports.
What am I missing here?