@@ -539,7 +539,7 @@ static CGFloat _get_device_scale(CGContextRef cr)
539
539
{" flush_events" ,
540
540
(PyCFunction)FigureCanvas_flush_events,
541
541
METH_NOARGS,
542
- " Flush the GUI events for the figure. "
542
+ NULL , // docstring inherited.
543
543
},
544
544
{" set_rubberband" ,
545
545
(PyCFunction)FigureCanvas_set_rubberband,
@@ -554,12 +554,12 @@ static CGFloat _get_device_scale(CGContextRef cr)
554
554
{" start_event_loop" ,
555
555
(PyCFunction)FigureCanvas_start_event_loop,
556
556
METH_KEYWORDS | METH_VARARGS,
557
- " Runs the event loop until the timeout or until stop_event_loop is called. \n " ,
557
+ NULL , // docstring inherited.
558
558
},
559
559
{" stop_event_loop" ,
560
560
(PyCFunction)FigureCanvas_stop_event_loop,
561
561
METH_NOARGS,
562
- " Stops the event loop that was started by start_event_loop. \n " ,
562
+ NULL , // docstring inherited.
563
563
},
564
564
{NULL } /* Sentinel */
565
565
};
@@ -782,27 +782,27 @@ static CGFloat _get_device_scale(CGContextRef cr)
782
782
{" show" ,
783
783
(PyCFunction)FigureManager_show,
784
784
METH_NOARGS,
785
- " Shows the window associated with the figure manager. "
785
+ NULL , // docstring inherited.
786
786
},
787
787
{" destroy" ,
788
788
(PyCFunction)FigureManager_destroy,
789
789
METH_NOARGS,
790
- " Closes the window associated with the figure manager. "
790
+ NULL , // docstring inherited.
791
791
},
792
792
{" set_window_title" ,
793
793
(PyCFunction)FigureManager_set_window_title,
794
794
METH_VARARGS,
795
- " Sets the title of the window associated with the figure manager. "
795
+ NULL , // docstring inherited.
796
796
},
797
797
{" get_window_title" ,
798
798
(PyCFunction)FigureManager_get_window_title,
799
799
METH_NOARGS,
800
- " Returns the title of the window associated with the figure manager. "
800
+ NULL , // docstring inherited.
801
801
},
802
802
{" resize" ,
803
803
(PyCFunction)FigureManager_resize,
804
804
METH_VARARGS,
805
- " Resize the window (in pixels). "
805
+ NULL , // docstring inherited.
806
806
},
807
807
{NULL } /* Sentinel */
808
808
};
@@ -1098,7 +1098,7 @@ -(void)save_figure:(id)sender { gil_call_method(toolbar, "save_figure"); }
1098
1098
{" set_message" ,
1099
1099
(PyCFunction)NavigationToolbar2_set_message,
1100
1100
METH_VARARGS,
1101
- " Set the message to be displayed on the toolbar. "
1101
+ NULL , // docstring inherited.
1102
1102
},
1103
1103
{NULL } /* Sentinel */
1104
1104
};
@@ -1991,12 +1991,12 @@ static void context_cleanup(const void* info)
1991
1991
{" _timer_start" ,
1992
1992
(PyCFunction)Timer__timer_start,
1993
1993
METH_VARARGS,
1994
- " Initialize and start the timer. "
1994
+ NULL , // docstring inherited.
1995
1995
},
1996
1996
{" _timer_stop" ,
1997
1997
(PyCFunction)Timer__timer_stop,
1998
1998
METH_NOARGS,
1999
- " Stop the timer. "
1999
+ NULL , // docstring inherited.
2000
2000
},
2001
2001
{NULL } /* Sentinel */
2002
2002
};
0 commit comments