File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,6 +57,9 @@ class ToolManager(object):
5757 """
5858
5959 def __init__ (self , canvas ):
60+ warnings .warn ('Treat the new Tool classes introduced in v1.5 as ' +
61+ 'experimental for now, the API will likely change in ' +
62+ 'version 2.1 and perhaps the rcParam as well' )
6063 self .canvas = canvas
6164
6265 self ._key_press_handler_id = self .canvas .mpl_connect (
Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ class ToolBase(object):
7272 """
7373
7474 def __init__ (self , toolmanager , name ):
75+ warnings .warn ('Treat the new Tool classes introduced in v1.5 as ' +
76+ 'experimental for now, the API will likely change in ' +
77+ 'version 2.1, and some tools might change name' )
7578 self ._name = name
7679 self ._figure = None
7780 self .toolmanager = toolmanager
You can’t perform that action at this time.
0 commit comments