Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Cleanup sample plots tutorial in new theme.
Center the EEG image in sample plots tutorial, which matches the rest of
the images in the tutorial. Drop captions that don't say much, and make
images full size.
  • Loading branch information
QuLogic committed Jul 9, 2021
commit 015444369708a8ff48520edfde98601ab4fb274b
63 changes: 1 addition & 62 deletions tutorials/introductory/sample_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
.. figure:: ../../gallery/lines_bars_and_markers/images/sphx_glr_simple_plot_001.png
:target: ../../gallery/lines_bars_and_markers/simple_plot.html
:align: center
:scale: 50

Simple Plot

.. _screenshots_subplot_demo:

Expand All @@ -32,9 +29,6 @@
.. figure:: ../../gallery/subplots_axes_and_figures/images/sphx_glr_subplot_001.png
:target: ../../gallery/subplots_axes_and_figures/subplot.html
:align: center
:scale: 50

Subplot

.. _screenshots_images_demo:

Expand All @@ -47,7 +41,6 @@
.. figure:: ../../gallery/images_contours_and_fields/images/sphx_glr_image_demo_003.png
:target: ../../gallery/images_contours_and_fields/image_demo.html
:align: center
:scale: 50

Example of using :func:`~matplotlib.pyplot.imshow` to display a CT scan

Expand All @@ -66,9 +59,6 @@
.. figure:: ../../gallery/images_contours_and_fields/images/sphx_glr_pcolormesh_levels_001.png
:target: ../../gallery/images_contours_and_fields/pcolormesh_levels.html
:align: center
:scale: 50

Example comparing :func:`~matplotlib.pyplot.pcolormesh` and :func:`~matplotlib.pyplot.contour` for plotting two-dimensional data

.. _screenshots_histogram_demo:

Expand All @@ -81,10 +71,6 @@
.. figure:: ../../gallery/statistics/images/sphx_glr_histogram_features_001.png
:target: ../../gallery/statistics/histogram_features.html
:align: center
:scale: 50

Histogram Features


.. _screenshots_path_demo:

Expand All @@ -97,9 +83,6 @@
.. figure:: ../../gallery/shapes_and_collections/images/sphx_glr_path_patch_001.png
:target: ../../gallery/shapes_and_collections/path_patch.html
:align: center
:scale: 50

Path Patch

.. _screenshots_mplot3d_surface:

Expand All @@ -113,9 +96,6 @@
.. figure:: ../../gallery/mplot3d/images/sphx_glr_surface3d_001.png
:target: ../../gallery/mplot3d/surface3d.html
:align: center
:scale: 50

Surface3d

Thanks to John Porter, Jonathon Taylor, Reinier Heeres, and Ben Root for
the `.mplot3d` toolkit. This toolkit is included with all standard Matplotlib
Expand All @@ -135,7 +115,6 @@
.. figure:: ../../gallery/images_contours_and_fields/images/sphx_glr_plot_streamplot_001.png
:target: ../../gallery/images_contours_and_fields/plot_streamplot.html
:align: center
:scale: 50

Streamplot with various plotting options.

Expand All @@ -156,9 +135,6 @@
.. figure:: ../../gallery/shapes_and_collections/images/sphx_glr_ellipse_demo_001.png
:target: ../../gallery/shapes_and_collections/ellipse_demo.html
:align: center
:scale: 50

Ellipse Demo

.. _screenshots_barchart_demo:

Expand All @@ -171,9 +147,6 @@
.. figure:: ../../gallery/statistics/images/sphx_glr_barchart_demo_001.png
:target: ../../gallery/statistics/barchart_demo.html
:align: center
:scale: 50

Barchart Demo

You can also create stacked bars
(`bar_stacked.py <../../gallery/lines_bars_and_markers/bar_stacked.html>`_),
Expand All @@ -195,9 +168,6 @@
.. figure:: ../../gallery/pie_and_polar_charts/images/sphx_glr_pie_features_001.png
:target: ../../gallery/pie_and_polar_charts/pie_features.html
:align: center
:scale: 50

Pie Features

.. _screenshots_table_demo:

Expand All @@ -210,14 +180,9 @@
.. figure:: ../../gallery/misc/images/sphx_glr_table_demo_001.png
:target: ../../gallery/misc/table_demo.html
:align: center
:scale: 50

Table Demo


.. _screenshots_scatter_demo:


Scatter plots
=============

Expand All @@ -230,10 +195,6 @@
.. figure:: ../../gallery/lines_bars_and_markers/images/sphx_glr_scatter_demo2_001.png
:target: ../../gallery/lines_bars_and_markers/scatter_demo2.html
:align: center
:scale: 50

Scatter Demo2


.. _screenshots_slider_demo:

Expand All @@ -248,7 +209,6 @@
.. figure:: ../../gallery/widgets/images/sphx_glr_slider_demo_001.png
:target: ../../gallery/widgets/slider_demo.html
:align: center
:scale: 50

Slider and radio-button GUI.

Expand All @@ -264,9 +224,6 @@
.. figure:: ../../gallery/lines_bars_and_markers/images/sphx_glr_fill_001.png
:target: ../../gallery/lines_bars_and_markers/fill.html
:align: center
:scale: 50

Fill

Thanks to Andrew Straw for adding this function.

Expand All @@ -281,9 +238,6 @@
.. figure:: ../../gallery/text_labels_and_annotations/images/sphx_glr_date_001.png
:target: ../../gallery/text_labels_and_annotations/date.html
:align: center
:scale: 50

Date

See :mod:`matplotlib.ticker` and :mod:`matplotlib.dates` for details and usage.

Expand All @@ -301,9 +255,6 @@
.. figure:: ../../gallery/scales/images/sphx_glr_log_demo_001.png
:target: ../../gallery/scales/log_demo.html
:align: center
:scale: 50

Log Demo

Thanks to Andrew Straw, Darren Dale and Gregory Lielens for contributions
log-scaling infrastructure.
Expand All @@ -318,9 +269,6 @@
.. figure:: ../../gallery/pie_and_polar_charts/images/sphx_glr_polar_demo_001.png
:target: ../../gallery/pie_and_polar_charts/polar_demo.html
:align: center
:scale: 50

Polar Demo

.. _screenshots_legend_demo:

Expand All @@ -335,7 +283,6 @@
.. figure:: ../../gallery/text_labels_and_annotations/images/sphx_glr_legend_001.png
:target: ../../gallery/text_labels_and_annotations/legend.html
:align: center
:scale: 50

Legend

Expand All @@ -355,9 +302,6 @@
.. figure:: ../../gallery/text_labels_and_annotations/images/sphx_glr_mathtext_examples_001.png
:target: ../../gallery/text_labels_and_annotations/mathtext_examples.html
:align: center
:scale: 50

Mathtext Examples

Matplotlib's mathtext infrastructure is an independent implementation and
does not require TeX or any external packages installed on your computer. See
Expand All @@ -376,9 +320,6 @@
.. figure:: ../../gallery/text_labels_and_annotations/images/sphx_glr_tex_demo_001.png
:target: ../../gallery/text_labels_and_annotations/tex_demo.html
:align: center
:scale: 50

Tex Demo

.. _screenshots_eeg_demo:

Expand All @@ -390,6 +331,7 @@
<https://github.com/nipy/pbrain>`__.

.. image:: ../../_static/eeg_small.png
:align: center

The lower axes uses :func:`~matplotlib.pyplot.specgram`
to plot the spectrogram of one of the EEG channels.
Expand All @@ -411,9 +353,6 @@
.. figure:: ../../gallery/showcase/images/sphx_glr_xkcd_001.png
:target: ../../gallery/showcase/xkcd.html
:align: center
:scale: 50

xkcd

Subplot example
===============
Expand Down