fix a few Sphinx warnings

This commit is contained in:
wernerfb
2015-04-14 17:15:52 +02:00
parent 164a147a56
commit 0b98209d36
3 changed files with 16 additions and 16 deletions

View File

@@ -2381,8 +2381,8 @@ class DotGrid:
"""
An example of a Grid Object -- it is set on the FloatCanvas with one of::
FloatCanvas.GridUnder = Grid
FloatCanvas.GridOver = Grid
FloatCanvas.GridUnder = Grid
FloatCanvas.GridOver = Grid
It will be drawn every time, regardless of the viewport.

View File

@@ -25,10 +25,10 @@ class BBox(N.ndarray):
Takes Data as an array. Data is any python sequence that can be turned into a
2x2 numpy array of floats::
[
[MinX, MinY ],
[MaxX, MaxY ]
]
[
[MinX, MinY ],
[MaxX, MaxY ]
]
It is a subclass of numpy.ndarray, so for the most part it can be used as
an array, and arrays that fit the above description can be used in its place.
@@ -47,10 +47,10 @@ class BBox(N.ndarray):
Takes Data as an array. Data is any python sequence that can be turned
into a 2x2 numpy array of floats::
[
[MinX, MinY ],
[MaxX, MaxY ]
]
[
[MinX, MinY ],
[MaxX, MaxY ]
]
You don't usually call this directly. BBox objects are created with
the factory functions:
@@ -204,10 +204,10 @@ def asBBox(data):
view of the data with that array. The numpy array should be of the correct
format: a 2x2 numpy array of floats::
[
[MinX, MinY ],
[MaxX, MaxY ]
]
[
[MinX, MinY ],
[MaxX, MaxY ]
]
"""

View File

@@ -63,9 +63,9 @@ class MultiSplitterWindow(wx.Panel):
:param Window `parent`: the parent window
:param integer `id`: an identifier for the control: a value of -1 is taken to mean a default
:param Point `pos`: the control position. A value of (-1, -1) indicates a default position,
chosen by either the windowing system or wxPython, depending on platform
chosen by either the windowing system or wxPython, depending on platform
:param Size `size`: the control size. A value of (-1, -1) indicates a default size,
chosen by either the windowing system or wxPython, depending on platform
chosen by either the windowing system or wxPython, depending on platform
:param integer `style`: the control window style
:param string `name`: the control name
"""