Skip to content

Commit

Permalink
Merge pull request matplotlib#12749 from anntzer/toolmanager-warning
Browse files Browse the repository at this point in the history
Move toolmanager warning from logging to warning.
  • Loading branch information
jklymak authored Nov 5, 2018
2 parents 2f0e119 + 1b5fa40 commit 2e65e40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/matplotlib/backend_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ class ToolBase(object):
"""

def __init__(self, toolmanager, name):
_log.warning('Treat the new Tool classes introduced in v1.5 as '
'experimental for now, the API will likely change in '
'version 2.1, and some tools might change name')
cbook._warn_external(
'The new Tool classes introduced in v1.5 are experimental; their '
'API (including names) will likely change in future versions.')
self._name = name
self._toolmanager = toolmanager
self._figure = None
Expand Down

0 comments on commit 2e65e40

Please sign in to comment.