@@ -631,8 +631,8 @@ def get_hatch(self):
631631class Event :
632632 """
633633 A matplotlib event. Attach additional attributes as defined in
634- :meth:`FigureCanvasBase.connect `. The following attributes are defined and
635- shown with their default values
634+ :meth:`FigureCanvasBase.mpl_connect `. The following attributes
635+ are defined and shown with their default values
636636
637637 ``name``
638638 the event name
@@ -655,7 +655,7 @@ class DrawEvent(Event):
655655 """
656656 An event triggered by a draw operation on the canvas
657657
658- In addition to the :class`Event` attributes, the following event attributes are defined:
658+ In addition to the :class: `Event` attributes, the following event attributes are defined:
659659
660660 ``renderer``
661661 the :class:`RendererBase` instance for the draw event
@@ -669,7 +669,7 @@ class ResizeEvent(Event):
669669 """
670670 An event triggered by a canvas resize
671671
672- In addition to the :class`Event` attributes, the following event attributes are defined:
672+ In addition to the :class: `Event` attributes, the following event attributes are defined:
673673
674674 ``width``
675675 width of the canvas in pixels
@@ -689,7 +689,7 @@ class LocationEvent(Event):
689689 The following additional attributes are defined and shown with
690690 their default values
691691
692- In addition to the :class`Event` attributes, the following event attributes are defined:
692+ In addition to the :class: `Event` attributes, the following event attributes are defined:
693693
694694 ``x``
695695 x position - pixels from left of canvas
@@ -752,7 +752,7 @@ class MouseEvent(LocationEvent):
752752 A mouse event ('button_press_event', 'button_release_event', 'scroll_event',
753753 'motion_notify_event').
754754
755- In addition to the :class`Event` and :class:`LocationEvent`
755+ In addition to the :class: `Event` and :class:`LocationEvent`
756756 attributes, the following attributes are defined:
757757
758758 ``button``
@@ -832,9 +832,9 @@ class KeyEvent(LocationEvent):
832832 A key event (key press, key release).
833833
834834 Attach additional attributes as defined in
835- :meth:`FigureCanvasBase.connect `.
835+ :meth:`FigureCanvasBase.mpl_connect `.
836836
837- In addition to the :class`Event` and :class:`LocationEvent`
837+ In addition to the :class: `Event` and :class:`LocationEvent`
838838 attributes, the following attributes are defined:
839839
840840 ``key``
@@ -1468,38 +1468,40 @@ class NavigationToolbar2:
14681468
14691469 backends must implement a canvas that handles connections for
14701470 'button_press_event' and 'button_release_event'. See
1471- :meth:`FigureCanvasBase.connect ` for more information
1471+ :meth:`FigureCanvasBase.mpl_connect ` for more information
14721472
14731473
14741474 They must also define
14751475
1476- :meth:`save_figure`
1477- save the current figure
1476+ :meth:`save_figure`
1477+ save the current figure
14781478
1479- :meth:`set_cursor`
1480- if you want the pointer icon to change
1479+ :meth:`set_cursor`
1480+ if you want the pointer icon to change
14811481
1482- :meth:`_init_toolbar`
1483- create your toolbar widget
1482+ :meth:`_init_toolbar`
1483+ create your toolbar widget
14841484
1485- :meth:`draw_rubberband` (optional)
1486- draw the zoom to rect "rubberband" rectangle
1485+ :meth:`draw_rubberband` (optional)
1486+ draw the zoom to rect "rubberband" rectangle
14871487
1488- :meth:`press` (optional)
1489- whenever a mouse button is pressed, you'll be
1490- notified with the event
1488+ :meth:`press` (optional)
1489+ whenever a mouse button is pressed, you'll be
1490+ notified with the event
14911491
14921492 :meth:`release` (optional)
1493- whenever a mouse button is released, you'll be notified with the event
1493+ whenever a mouse button is released, you'll be notified with
1494+ the event
14941495
1495- :meth:`dynamic_update` ptional )
1496- dynamically update the window while navigating
1496+ :meth:`dynamic_update` (optional )
1497+ dynamically update the window while navigating
14971498
1498- :meth:`set_message` ptional )
1499- display message
1499+ :meth:`set_message` (optional )
1500+ display message
15001501
1501- :meth:`set_history_buttons` (optional)
1502- you can change the history back / forward buttons to indicate disabled / enabled state.
1502+ :meth:`set_history_buttons` (optional)
1503+ you can change the history back / forward buttons to
1504+ indicate disabled / enabled state.
15031505
15041506 That's it, we'll do the rest!
15051507 """
0 commit comments