Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DOC]: improve consistency of plot types gallery #26328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion doc/sphinxext/gallery_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@

plot_types_order = [
'../galleries/plot_types/basic',
'../galleries/plot_types/arrays',
'../galleries/plot_types/stats',
'../galleries/plot_types/arrays',
'../galleries/plot_types/unstructured',
'../galleries/plot_types/3D',
UNSORTED
Expand Down
7 changes: 4 additions & 3 deletions galleries/plot_types/3D/README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.. _3D_plots:

3D
--
3D and volumetric data
----------------------

3D plots using the `mpl_toolkits.mplot3d` library.
Plots of three-dimensional :math:`(x,y,z)`, surface :math:`f(x,y)=z`, and
volumetric :math:`V_{x, y, z}` data using the `mpl_toolkits.mplot3d` library.
5 changes: 2 additions & 3 deletions galleries/plot_types/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
Plot types
==========

Overview of many common plotting commands in Matplotlib.
Overview of many common plotting commands provided by Matplotlib.

Note that we have stripped all labels, but they are present by default.
See the `gallery <../gallery/index.html>`_ for many more examples and
See the `gallery <../gallery/index.html>`_ for more examples and
the `tutorials page <../tutorials/index.html>`_ for longer examples.
8 changes: 5 additions & 3 deletions galleries/plot_types/arrays/README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.. _array_plots:

Plots of arrays and fields
--------------------------
Gridded data:
-------------

Plotting for arrays of data ``Z(x, y)`` and fields ``U(x, y), V(x, y)``.
Plots of arrays and images :math:`Z_{i, j}` and fields :math:`U_{i, j}, V_{i, j}`
on `regular grids <https://en.wikipedia.org/wiki/Regular_grid>`_ and
corresponding coordinate grids :math:`X_{i,j}, Y_{i,j}`.
7 changes: 4 additions & 3 deletions galleries/plot_types/basic/README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.. _basic_plots:

Basic
-----
Pairwise data
-------------

Basic plot types, usually y versus x.
Plots of pairwise :math:`(x, y)`, tabular :math:`(var\_0, \cdots, var\_n)`,
and functional :math:`f(x)=y` data.
7 changes: 4 additions & 3 deletions galleries/plot_types/stats/README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.. _stats_plots:

Statistics plots
----------------
Statistical distributions
-------------------------

Plots for statistical analysis.
Plots of the distribution of at least one variable in a dataset. Some of these
methods also compute the distributions.
10 changes: 4 additions & 6 deletions galleries/plot_types/unstructured/README.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
.. _unstructured_plots:

Unstructured coordinates
-------------------------
Irregularly gridded data
------------------------

Sometimes we collect data ``z`` at coordinates ``(x,y)`` and want to visualize
as a contour. Instead of gridding the data and then using
`~.axes.Axes.contour`, we can use a triangulation algorithm and fill the
triangles.
Plots of data :math:`Z_{x, y}` on `unstructured grids <https://en.wikipedia.org/wiki/Unstructured_grid>`_ ,
unstructured coordinate grids :math:`(x, y)`, and 2D functions :math:`f(x, y) = z`.