pyqtgraph/doc/source/graphicsItems/make
2015-07-11 11:17:48 -05:00

38 lines
518 B
Plaintext

files = """ArrowItem
AxisItem
ButtonItem
CurvePoint
GradientEditorItem
GradientLegend
GraphicsLayout
GraphicsObject
GraphicsWidget
GridItem
HistogramLUTItem
ImageItem
InfiniteLine
LabelItem
LinearRegionItem
PlotCurveItem
PlotDataItem
ROI
ScaleBar
ScatterPlotItem
UIGraphicsItem
ViewBox
VTickGroup""".split('\n')
for f in files:
print(f)
fh = open(f.lower()+'.rst', 'w')
fh.write(
"""%s
%s
.. autoclass:: pyqtgraph.%s
:members:
.. automethod:: pyqtgraph.%s.__init__
""" % (f, '='*len(f), f, f))