@@ -727,25 +727,26 @@ class ContourSet(cm.ScalarMappable, ContourLabeler):
727
727
728
728
User-callable method: clabel
729
729
730
- Useful attributes:
731
- ax:
732
- The axes object in which the contours are drawn
730
+ Attributes
731
+ ----------
732
+ ax:
733
+ The axes object in which the contours are drawn.
733
734
734
- collections:
735
- a silent_list of LineCollections or PolyCollections
735
+ collections:
736
+ A silent_list of LineCollections or PolyCollections.
736
737
737
- levels:
738
- contour levels
738
+ levels:
739
+ Contour levels.
739
740
740
- layers:
741
- same as levels for line contours; half-way between
741
+ layers:
742
+ Same as levels for line contours; half-way between
742
743
levels for filled contours. See :meth:`_process_colors`.
743
744
"""
744
745
745
746
def __init__ (self , ax , * args , ** kwargs ):
746
747
"""
747
748
Draw contour lines or filled regions, depending on
748
- whether keyword arg ' filled' is * False* (default) or * True* .
749
+ whether keyword arg * filled* is `` False`` (default) or `` True`` .
749
750
750
751
The first three arguments must be:
751
752
@@ -758,26 +759,25 @@ def __init__(self, ax, *args, **kwargs):
758
759
*allsegs*: [level0segs, level1segs, ...]
759
760
List of all the polygon segments for all the *levels*.
760
761
For contour lines ``len(allsegs) == len(levels)``, and for
761
- filled contour regions ``len(allsegs) = len(levels)-1``.
762
-
763
- level0segs = [polygon0, polygon1, ...]
762
+ filled contour regions ``len(allsegs) = len(levels)-1``. The lists
763
+ should look like::
764
764
765
- polygon0 = array_like [[x0,y0], [x1,y1], ...]
765
+ level0segs = [polygon0, polygon1, ...]
766
+ polygon0 = array_like [[x0,y0], [x1,y1], ...]
766
767
767
768
*allkinds*: *None* or [level0kinds, level1kinds, ...]
768
769
Optional list of all the polygon vertex kinds (code types), as
769
- described and used in Path. This is used to allow multiply-
770
+ described and used in Path. This is used to allow multiply-
770
771
connected paths such as holes within filled polygons.
771
- If not *None*, len(allkinds) == len(allsegs).
772
+ If not ``None``, ``len(allkinds) == len(allsegs)``. The lists
773
+ should look like::
772
774
773
- level0kinds = [polygon0kinds, ...]
775
+ level0kinds = [polygon0kinds, ...]
776
+ polygon0kinds = [vertexcode0, vertexcode1, ...]
774
777
775
- polygon0kinds = [vertexcode0, vertexcode1, ...]
776
-
777
- If *allkinds* is not *None*, usually all polygons for a particular
778
+ If *allkinds* is not ``None``, usually all polygons for a particular
778
779
contour level are grouped together so that
779
-
780
- level0segs = [polygon0] and level0kinds = [polygon0kinds].
780
+ ``level0segs = [polygon0]`` and ``level0kinds = [polygon0kinds]``.
781
781
782
782
Keyword arguments are as described in
783
783
:attr:`matplotlib.contour.QuadContourSet.contour_doc`.
@@ -1369,19 +1369,20 @@ class QuadContourSet(ContourSet):
1369
1369
1370
1370
User-callable method: :meth:`clabel`
1371
1371
1372
- Useful attributes:
1373
- ax:
1374
- The axes object in which the contours are drawn
1372
+ Attributes
1373
+ ----------
1374
+ ax:
1375
+ The axes object in which the contours are drawn.
1375
1376
1376
- collections:
1377
- A silent_list of LineCollections or PolyCollections
1377
+ collections:
1378
+ A silent_list of LineCollections or PolyCollections.
1378
1379
1379
- levels:
1380
- Contour levels
1380
+ levels:
1381
+ Contour levels.
1381
1382
1382
- layers:
1383
+ layers:
1383
1384
Same as levels for line contours; half-way between
1384
- levels for filled contours. See :meth:`_process_colors` method.
1385
+ levels for filled contours. See :meth:`_process_colors` method.
1385
1386
"""
1386
1387
1387
1388
def _process_args (self , * args , ** kwargs ):
0 commit comments