File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,9 @@ class ToolManager(object):
57
57
"""
58
58
59
59
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' )
60
63
self .canvas = canvas
61
64
62
65
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):
72
72
"""
73
73
74
74
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' )
75
78
self ._name = name
76
79
self ._figure = None
77
80
self .toolmanager = toolmanager
You can’t perform that action at this time.
0 commit comments