Clean up examples / docs
This commit is contained in:
parent
2e36058130
commit
e9afbb9b9c
@ -19,7 +19,7 @@ foreground See :func:`mkColor` 'd' Default foreground col
|
||||
background See :func:`mkColor` 'k' Default background for :class:`GraphicsView`.
|
||||
antialias bool False Enabling antialiasing causes lines to be drawn with
|
||||
smooth edges at the cost of reduced performance.
|
||||
imageAxisOrder str 'legacy' For 'row-major', image data is expected in the standard row-major
|
||||
imageAxisOrder str 'col-major' For 'row-major', image data is expected in the standard row-major
|
||||
(row, col) order. For 'col-major', image data is expected in
|
||||
reversed column-major (col, row) order.
|
||||
The default is 'col-major' for backward compatibility, but this may
|
||||
|
@ -2,7 +2,7 @@
|
||||
"""
|
||||
This example demonstrates a very basic use of flowcharts: filter data,
|
||||
displaying both the input and output of the filter. The behavior of
|
||||
he filter can be reprogrammed by the user.
|
||||
the filter can be reprogrammed by the user.
|
||||
|
||||
Basic steps are:
|
||||
- create a flowchart and two plots
|
||||
|
@ -17,7 +17,8 @@ import numpy as np
|
||||
from pyqtgraph.Qt import QtCore, QtGui
|
||||
import pyqtgraph as pg
|
||||
|
||||
pg.setConfigOptions(imageAxisOrder='normal')
|
||||
# Interpret image data as row-major instead of col-major
|
||||
pg.setConfigOptions(imageAxisOrder='row-major')
|
||||
|
||||
app = QtGui.QApplication([])
|
||||
|
||||
|
@ -8,7 +8,7 @@ from pyqtgraph.Qt import QtCore, QtGui
|
||||
import numpy as np
|
||||
import pyqtgraph as pg
|
||||
|
||||
pg.setConfigOptions(imageAxisOrder='normal')
|
||||
pg.setConfigOptions(imageAxisOrder='row-major')
|
||||
|
||||
## create GUI
|
||||
app = QtGui.QApplication([])
|
||||
|
Loading…
Reference in New Issue
Block a user