@@ -744,25 +744,26 @@ class ContourSet(cm.ScalarMappable, ContourLabeler):
744744
745745 User-callable method: clabel
746746
747- Useful attributes:
748- ax:
749- The axes object in which the contours are drawn
747+ Attributes
748+ ----------
749+ ax:
750+ The axes object in which the contours are drawn.
750751
751- collections:
752- a silent_list of LineCollections or PolyCollections
752+ collections:
753+ A silent_list of LineCollections or PolyCollections.
753754
754- levels:
755- contour levels
755+ levels:
756+ Contour levels.
756757
757- layers:
758- same as levels for line contours; half-way between
758+ layers:
759+ Same as levels for line contours; half-way between
759760 levels for filled contours. See :meth:`_process_colors`.
760761 """
761762
762763 def __init__ (self , ax , * args , ** kwargs ):
763764 """
764765 Draw contour lines or filled regions, depending on
765- whether keyword arg ' filled' is * False* (default) or * True* .
766+ whether keyword arg * filled* is `` False`` (default) or `` True`` .
766767
767768 The first three arguments must be:
768769
@@ -775,26 +776,25 @@ def __init__(self, ax, *args, **kwargs):
775776 *allsegs*: [level0segs, level1segs, ...]
776777 List of all the polygon segments for all the *levels*.
777778 For contour lines ``len(allsegs) == len(levels)``, and for
778- filled contour regions ``len(allsegs) = len(levels)-1``.
779-
780- level0segs = [polygon0, polygon1, ...]
779+ filled contour regions ``len(allsegs) = len(levels)-1``. The lists
780+ should look like::
781781
782- polygon0 = array_like [[x0,y0], [x1,y1], ...]
782+ level0segs = [polygon0, polygon1, ...]
783+ polygon0 = array_like [[x0,y0], [x1,y1], ...]
783784
784785 *allkinds*: *None* or [level0kinds, level1kinds, ...]
785786 Optional list of all the polygon vertex kinds (code types), as
786- described and used in Path. This is used to allow multiply-
787+ described and used in Path. This is used to allow multiply-
787788 connected paths such as holes within filled polygons.
788- If not *None*, len(allkinds) == len(allsegs).
789-
790- level0kinds = [polygon0kinds, ...]
791-
792- polygon0kinds = [vertexcode0, vertexcode1, ...]
789+ If not ``None``, ``len(allkinds) == len(allsegs)``. The lists
790+ should look like::
793791
794- If *allkinds* is not *None*, usually all polygons for a particular
795- contour level are grouped together so that
792+ level0kinds = [polygon0kinds, ...]
793+ polygon0kinds = [vertexcode0, vertexcode1, ...]
796794
797- level0segs = [polygon0] and level0kinds = [polygon0kinds].
795+ If *allkinds* is not ``None``, usually all polygons for a
796+ particular contour level are grouped together so that
797+ ``level0segs = [polygon0]`` and ``level0kinds = [polygon0kinds]``.
798798
799799 Keyword arguments are as described in
800800 :attr:`matplotlib.contour.QuadContourSet.contour_doc`.
@@ -1407,19 +1407,20 @@ class QuadContourSet(ContourSet):
14071407
14081408 User-callable method: :meth:`clabel`
14091409
1410- Useful attributes:
1411- ax:
1412- The axes object in which the contours are drawn
1410+ Attributes
1411+ ----------
1412+ ax:
1413+ The axes object in which the contours are drawn.
14131414
1414- collections:
1415- A silent_list of LineCollections or PolyCollections
1415+ collections:
1416+ A silent_list of LineCollections or PolyCollections.
14161417
1417- levels:
1418- Contour levels
1418+ levels:
1419+ Contour levels.
14191420
1420- layers:
1421+ layers:
14211422 Same as levels for line contours; half-way between
1422- levels for filled contours. See :meth:`_process_colors` method.
1423+ levels for filled contours. See :meth:`_process_colors` method.
14231424 """
14241425
14251426 def _process_args (self , * args , ** kwargs ):
0 commit comments