pyqtgraph/doc/source/graphicsItems/make
2020-06-23 19:59:04 +02:00

40 lines
546 B
Plaintext

files = """ArrowItem
AxisItem
ButtonItem
CurvePoint
DateAxisItem
GradientEditorItem
GradientLegend
GraphicsLayout
GraphicsObject
GraphicsWidget
GridItem
HistogramLUTItem
ImageItem
pColorMeshItem
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))