@@ -127,7 +127,7 @@ def get_registered_canvas_class(format):
127127 return backend_class
128128
129129
130- class RendererBase ( object ) :
130+ class RendererBase :
131131 """An abstract base class to handle drawing/rendering operations.
132132
133133 The following methods must be implemented in the backend for full
@@ -712,7 +712,7 @@ def stop_filter(self, filter_func):
712712 """
713713
714714
715- class GraphicsContextBase ( object ) :
715+ class GraphicsContextBase :
716716 """An abstract base class that provides color, line styles, etc."""
717717
718718 def __init__ (self ):
@@ -1032,7 +1032,7 @@ def set_sketch_params(self, scale=None, length=None, randomness=None):
10321032 else (scale , length or 128. , randomness or 16. ))
10331033
10341034
1035- class TimerBase ( object ) :
1035+ class TimerBase :
10361036 """
10371037 A base class for providing timer events, useful for things animations.
10381038 Backends need to implement a few specific methods in order to use their
@@ -1203,7 +1203,7 @@ def _on_timer(self):
12031203 self .stop ()
12041204
12051205
1206- class Event ( object ) :
1206+ class Event :
12071207 """
12081208 A matplotlib event. Attach additional attributes as defined in
12091209 :meth:`FigureCanvasBase.mpl_connect`. The following attributes
@@ -1552,7 +1552,7 @@ def _draw(renderer): raise Done(renderer)
15521552 return figure ._cachedRenderer
15531553
15541554
1555- class FigureCanvasBase ( object ) :
1555+ class FigureCanvasBase :
15561556 """
15571557 The canvas the figure renders into.
15581558
@@ -2466,7 +2466,7 @@ class NonGuiException(Exception):
24662466 pass
24672467
24682468
2469- class FigureManagerBase ( object ) :
2469+ class FigureManagerBase :
24702470 """
24712471 Helper class for pyplot mode, wraps everything up into a neat bundle
24722472
@@ -2567,7 +2567,7 @@ def set_window_title(self, title):
25672567cursors = tools .cursors
25682568
25692569
2570- class NavigationToolbar2 ( object ) :
2570+ class NavigationToolbar2 :
25712571 """
25722572 Base class for the navigation cursor, version 2
25732573
@@ -3079,7 +3079,7 @@ def set_history_buttons(self):
30793079 """Enable or disable the back/forward button."""
30803080
30813081
3082- class ToolContainerBase ( object ) :
3082+ class ToolContainerBase :
30833083 """
30843084 Base class for all tool containers, e.g. toolbars.
30853085
@@ -3223,7 +3223,7 @@ def remove_toolitem(self, name):
32233223 raise NotImplementedError
32243224
32253225
3226- class StatusbarBase ( object ) :
3226+ class StatusbarBase :
32273227 """Base class for the statusbar"""
32283228 def __init__ (self , toolmanager ):
32293229 self .toolmanager = toolmanager
@@ -3246,7 +3246,7 @@ def set_message(self, s):
32463246 pass
32473247
32483248
3249- class _Backend ( object ) :
3249+ class _Backend :
32503250 # A backend can be defined by using the following pattern:
32513251 #
32523252 # @_Backend.export
0 commit comments