File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313def test_formatter_ticker ():
1414 """Test Some formatter and ticker issues."""
1515 import matplotlib .testing .jpl_units as units
16- def register_units ():
17- """Register the unit conversion classes with matplotlib."""
18- import matplotlib .units as munits
19- import matplotlib .testing .jpl_units as jpl_units
20- from matplotlib .testing .jpl_units .Duration import Duration
21- from matplotlib .testing .jpl_units .Epoch import Epoch
22- from matplotlib .testing .jpl_units .UnitDbl import UnitDbl
23-
24- from matplotlib .testing .jpl_units .StrConverter import StrConverter
25- from matplotlib .testing .jpl_units .EpochConverter import EpochConverter
26- from matplotlib .testing .jpl_units .UnitDblConverter import UnitDblConverter
27-
28- munits .registry [ str ] = StrConverter ()
29- munits .registry [ Epoch ] = EpochConverter ()
30- munits .registry [ UnitDbl ] = UnitDblConverter ()
31- register_units ()
16+ units .register ()
3217
3318 # This essentially test to see if user specified labels get overwritten
3419 # by the auto labeler functionality of the axes.
You can’t perform that action at this time.
0 commit comments