diff options
Diffstat (limited to 'sources/pyside2/doc/tutorials/datavisualize/plot_datapoints.rst')
-rw-r--r-- | sources/pyside2/doc/tutorials/datavisualize/plot_datapoints.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sources/pyside2/doc/tutorials/datavisualize/plot_datapoints.rst b/sources/pyside2/doc/tutorials/datavisualize/plot_datapoints.rst index 9b86ca8b8..8ebdd2b08 100644 --- a/sources/pyside2/doc/tutorials/datavisualize/plot_datapoints.rst +++ b/sources/pyside2/doc/tutorials/datavisualize/plot_datapoints.rst @@ -7,13 +7,14 @@ this, you need to go over our data and include the data on a QLineSeries. After adding the data to the series, you can modify the axis to properly display the QDateTime on the X-axis, and the magnitude values on the Y-axis. -Here is the updated main_widget.py from with an additional function that adds -the QLineSeries. +Here is the updated :code:`main_widget.py` that includes an additional +function to plot data using a QLineSeries: .. literalinclude:: datavisualize6/main_widget.py :language: python :linenos: - :pyobject: Widget.add_series + :lines: 40- + :emphasize-lines: 33,56-91 Now, run the application to visualize the earthquake magnitudes data at different times. |