X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=multiplotwidget.py;fp=multiplotwidget.py;h=7729489d4cc32ba9bc9b3618d24a4999191bcbda;hb=911ab26ebbbc1021f35643e92150cf12895c2574;hp=f7c3de93961eb1d39228248ac228dc187705ccef;hpb=4946c320ea47806eb336f045c1b936df4d793683;p=sigrok-meter.git diff --git a/multiplotwidget.py b/multiplotwidget.py index f7c3de9..7729489 100755 --- a/multiplotwidget.py +++ b/multiplotwidget.py @@ -24,7 +24,7 @@ QtCore = qtcompat.QtCore QtGui = qtcompat.QtGui pyqtgraph = qtcompat.pyqtgraph -# black foreground on white background +# Black foreground on white background. pyqtgraph.setConfigOption('background', 'w') pyqtgraph.setConfigOption('foreground', 'k') @@ -103,7 +103,7 @@ class MultiPlotItem(pyqtgraph.GraphicsWidget): def _rowNumber(self, plot): '''Returns the number of the first row a plot occupies.''' - # Every plot takes up two rows + # Every plot takes up two rows. return 2 * self._plots.index(plot) @QtCore.Slot()