Skip to content

Commit 1112b28

Browse files
committed
Test fixup
- actually switch the default to not warn - We do overwrite matplotlib's formatters
1 parent f061148 commit 1112b28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/plotting/_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def get_pairs():
6262
return pairs
6363

6464

65-
def register(explicit=False):
65+
def register(explicit=True):
6666
"""Register Pandas Formatters and Converters with matplotlib
6767
6868
This function modifies the global ``matplotlib.units.registry``

pandas/tests/plotting/test_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def test_registry_resets(self):
109109
units.registry[date] = date_converter
110110

111111
register_matplotlib_converters()
112-
assert units.registry[date] is date_converter
112+
assert units.registry[date] is not date_converter
113113
deregister_matplotlib_converters()
114114
assert units.registry[date] is date_converter
115115

0 commit comments

Comments
 (0)