8000 Cleanup wx docstrings. · matplotlib/matplotlib@183dbd1 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 183dbd1

Browse files
committed
Cleanup wx docstrings.
- The "origin" keyword (for wx) has been deprecated in 591f92a and since then removed. - The canvas classes docstrings are inherited, but we don't even bother marking them as being inherited for other backends.
1 parent 22d036e commit 183dbd1

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

lib/matplotlib/backends/backend_wx.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,8 +595,6 @@ def gui_repaint(self, drawDC=None):
595595
"""
596596
Update the displayed image on the GUI canvas, using the supplied
597597
wx.PaintDC device context.
598-
599-
The 'WXAgg' backend sets origin accordingly.
600598
"""
601599
_log.debug("%s - gui_repaint()", type(self))
602600
# The "if self" check avoids a "wrapped C/C++ object has been deleted"

lib/matplotlib/backends/backend_wxagg.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,6 @@ def get_canvas(self, fig):
1515

1616

1717
class FigureCanvasWxAgg(FigureCanvasAgg, _FigureCanvasWxBase):
18-
"""
19-
The FigureCanvas contains the figure and does event handling.
20-
21-
In the wxPython backend, it is derived from wxPanel, and (usually)
22-
lives inside a frame instantiated by a FigureManagerWx. The parent
23-
window probably implements a wxSizer to control the displayed
24-
control size - but we give a hint as to our preferred minimum
25-
size.
26-
"""
27-
2818
def draw(self, drawDC=None):
2919
"""
3020
Render the figure using agg.

lib/matplotlib/backends/backend_wxcairo.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ def get_canvas(self, fig):
1515

1616

1717
class FigureCanvasWxCairo(FigureCanvasCairo, _FigureCanvasWxBase):
18-
"""
19-
The FigureCanvas contains the figure and does event handling.
20-
21-
In the wxPython backend, it is derived from wxPanel, and (usually) lives
22-
inside a frame instantiated by a FigureManagerWx. The parent window
23-
probably implements a wxSizer to control the displayed control size - but
24-
we give a hint as to our preferred minimum size.
25-
"""
26-
2718
def draw(self, drawDC=None):
2819
size = self.figure.bbox.size.astype(int)
2920
surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, *size)

0 commit comments

Comments
 (0)
0