.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/plot_scatter_plot_example.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_plot_scatter_plot_example.py: Scatter Plot Example =================================== Example scatter plot. .. GENERATED FROM PYTHON SOURCE LINES 8-19 .. image-sg:: /auto_examples/images/sphx_glr_plot_scatter_plot_example_001.png :alt: plot scatter plot example :srcset: /auto_examples/images/sphx_glr_plot_scatter_plot_example_001.png :class: sphx-glr-single-img .. code-block:: Python from gerg_plotting import ScatterPlot, data_from_csv # Let's read in the example data data = data_from_csv('example_data/sample_glider_data.csv') # Let's subsample the dataset data = data[::50] scatter = ScatterPlot(data) scatter.scatter('time','temperature') scatter.save('example_plots/scatter_plot_example.png',bbox_inches='tight') .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.217 seconds) .. _sphx_glr_download_auto_examples_plot_scatter_plot_example.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_scatter_plot_example.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_scatter_plot_example.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_scatter_plot_example.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_