Skip to content

Commit 3a9546f

Browse files
authored
[skip-ci] Reorganize the Plotting section of API Reference (#6732)
One top level heading with Dataset, DataArray, and Faceting subsections.
1 parent 787a96c commit 3a9546f

File tree

1 file changed

+58
-52
lines changed

1 file changed

+58
-52
lines changed

doc/api.rst

Lines changed: 58 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -246,17 +246,6 @@ Reshaping and reorganizing
246246
Dataset.sortby
247247
Dataset.broadcast_like
248248

249-
Plotting
250-
--------
251-
252-
.. autosummary::
253-
:toctree: generated/
254-
:template: autosummary/accessor_method.rst
255-
256-
Dataset.plot.scatter
257-
Dataset.plot.quiver
258-
Dataset.plot.streamplot
259-
260249
DataArray
261250
=========
262251

@@ -591,28 +580,6 @@ Reshaping and reorganizing
591580
DataArray.sortby
592581
DataArray.broadcast_like
593582

594-
Plotting
595-
--------
596-
597-
.. autosummary::
598-
:toctree: generated/
599-
:template: autosummary/accessor_callable.rst
600-
601-
DataArray.plot
602-
603-
.. autosummary::
604-
:toctree: generated/
605-
:template: autosummary/accessor_method.rst
606-
607-
DataArray.plot.contourf
608-
DataArray.plot.contour
609-
DataArray.plot.hist
610-
DataArray.plot.imshow
611-
DataArray.plot.line
612-
DataArray.plot.pcolormesh
613-
DataArray.plot.step
614-
DataArray.plot.surface
615-
616583
IO / Conversion
617584
===============
618585

@@ -687,6 +654,64 @@ Coordinates objects
687654
core.coordinates.DataArrayCoordinates
688655
core.coordinates.DatasetCoordinates
689656

657+
Plotting
658+
========
659+
660+
Dataset
661+
-------
662+
663+
.. autosummary::
664+
:toctree: generated/
665+
:template: autosummary/accessor_method.rst
666+
667+
Dataset.plot.scatter
668+
Dataset.plot.quiver
669+
Dataset.plot.streamplot
670+
671+
DataArray
672+
---------
673+
674+
.. autosummary::
675+
:toctree: generated/
676+
:template: autosummary/accessor_callable.rst
677+
678+
DataArray.plot
679+
680+
.. autosummary::
681+
:toctree: generated/
682+
:template: autosummary/accessor_method.rst
683+
684+
DataArray.plot.contourf
685+
DataArray.plot.contour
686+
DataArray.plot.hist
687+
DataArray.plot.imshow
688+
DataArray.plot.line
689+
DataArray.plot.pcolormesh
690+
DataArray.plot.step
691+
DataArray.plot.surface
692+
693+
694+
Faceting
695+
--------
696+
.. autosummary::
697+
:toctree: generated/
698+
699+
plot.FacetGrid
700+
plot.FacetGrid.add_colorbar
701+
plot.FacetGrid.add_legend
702+
plot.FacetGrid.add_quiverkey
703+
plot.FacetGrid.map
704+
plot.FacetGrid.map_dataarray
705+
plot.FacetGrid.map_dataarray_line
706+
plot.FacetGrid.map_dataset
707+
plot.FacetGrid.set_axis_labels
708+
plot.FacetGrid.set_ticks
709+
plot.FacetGrid.set_titles
710+
plot.FacetGrid.set_xlabels
711+
plot.FacetGrid.set_ylabels
712+
713+
714+
690715
GroupBy objects
691716
===============
692717

@@ -1000,25 +1025,6 @@ Creating custom indexes
10001025
date_range
10011026
date_range_like
10021027

1003-
Faceting
1004-
--------
1005-
.. autosummary::
1006-
:toctree: generated/
1007-
1008-
plot.FacetGrid
1009-
plot.FacetGrid.add_colorbar
1010-
plot.FacetGrid.add_legend
1011-
plot.FacetGrid.add_quiverkey
1012-
plot.FacetGrid.map
1013-
plot.FacetGrid.map_dataarray
1014-
plot.FacetGrid.map_dataarray_line
1015-
plot.FacetGrid.map_dataset
1016-
plot.FacetGrid.set_axis_labels
1017-
plot.FacetGrid.set_ticks
1018-
plot.FacetGrid.set_titles
1019-
plot.FacetGrid.set_xlabels
1020-
plot.FacetGrid.set_ylabels
1021-
10221028
Tutorial
10231029
========
10241030

0 commit comments

Comments
 (0)