Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Correctly re-instate Matplotlib converters #27481
Fixes #27479. Converters should only be cached to be re-instated if they are original, and not pandas converters.
I'm struggling to write a test for this; I think it requires a clean state with no pandas imports, so one can check what was in the units registry before pandas was imported. I think this means a new test file with no pandas imports at the top, but maybe someone has a better idea?
@@ Coverage Diff @@ ## master #27481 +/- ## =========================================== + Coverage 42.44% 91.62% +49.17% =========================================== Files 184 184 Lines 50389 50388 -1 =========================================== + Hits 21389 46167 +24778 + Misses 29000 4221 -24779