mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
fix a few Sphinx warnings
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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 ]
|
||||
]
|
||||
|
||||
"""
|
||||
|
||||
|
||||
@@ -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
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user