Skip to content

Commit a51ccba

Browse files
committed
MNT: Use warning instead of info log level
Closes matplotlib#27073. For details see https://github .com/matplotlib/issues/23422#issuecomment-2363859957.
1 parent 90748a5 commit a51ccba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/matplotlib/category.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,10 @@ def update(self, data):
221221
if val not in self._mapping:
222222
self._mapping[val] = next(self._counter)
223223
if data.size and convertible:
224-
_log.info('Using categorical units to plot a list of strings '
225-
'that are all parsable as floats or dates. If these '
226-
'strings should be plotted as numbers, cast to the '
227-
'appropriate data type before plotting.')
224+
_log.warning('Using categorical units to plot a list of strings '
225+
'that are all parsable as floats or dates. If these '
226+
'strings should be plotted as numbers, cast to the '
227+
'appropriate data type before plotting.')
228228

229229

230230
# Register the converter with Matplotlib's unit framework

0 commit comments

Comments
 (0)