After #26745 we should be able to move imports in `pandas/plotting/_matplotlib/*` to the top of the file, as they shouldn't create cycles. See https://github.com/pandas-dev/pandas/pull/26414#discussion_r291821639