diff --git a/doc/source/config_options.rst b/doc/source/config_options.rst index 23560f67..61b64499 100644 --- a/doc/source/config_options.rst +++ b/doc/source/config_options.rst @@ -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 diff --git a/examples/Flowchart.py b/examples/Flowchart.py index 86c2564b..b911cec8 100644 --- a/examples/Flowchart.py +++ b/examples/Flowchart.py @@ -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 diff --git a/examples/ImageView.py b/examples/ImageView.py index 514858f0..3412f348 100644 --- a/examples/ImageView.py +++ b/examples/ImageView.py @@ -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([]) diff --git a/examples/ROItypes.py b/examples/ROItypes.py index dd89255a..9e67ebe1 100644 --- a/examples/ROItypes.py +++ b/examples/ROItypes.py @@ -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([])