@@ -250,7 +250,7 @@ def add(self, patchlabel='', flows=np.array([1.0,-1.0]), orientations=[0,0],
250
250
=============== ==========================================================
251
251
*patchlabel* label to be placed at the center of the diagram
252
252
Note: *label* (not *patchlabel*) will be passed to
253
- the patch through `**kwargs` and can be used to create
253
+ the patch through `` **kwargs` ` and can be used to create
254
254
an entry in the legend.
255
255
*flows* array of flow values
256
256
By convention, inputs are positive and outputs are
@@ -298,8 +298,9 @@ def add(self, patchlabel='', flows=np.array([1.0,-1.0]), orientations=[0,0],
298
298
299
299
%(Patch)s
300
300
301
- As examples, `fill=False` and `label='A legend entry'`. By default,
302
- *facecolor*='#bfd1d4'` (light blue) and *linewidth*=0.5.
301
+ As examples, ``fill=False`` and ``label='A legend entry'``.
302
+ By default, ``facecolor='#bfd1d4'`` (light blue) and
303
+ ``linewidth=0.5``.
303
304
304
305
The indexing parameters (*prior* and *connect*) are zero-based.
305
306
@@ -746,7 +747,7 @@ def __init__(self, ax=None, scale=1.0, unit='', format='%G', gap=0.25,
746
747
that there is consistent alignment and formatting.
747
748
748
749
If :class:`Sankey` is instantiated with any keyword arguments other than
749
- those explicitly listed above (`**kwargs`), they will be passed to
750
+ those explicitly listed above (`` **kwargs` `), they will be passed to
750
751
:meth:`add`, which will create the first subdiagram.
751
752
752
753
In order to draw a complex Sankey diagram, create an instance of
@@ -774,6 +775,7 @@ def __init__(self, ax=None, scale=1.0, unit='', format='%G', gap=0.25,
774
775
:meth:`add`
775
776
:meth:`finish`
776
777
778
+
777
779
**Examples:**
778
780
779
781
.. plot:: mpl_examples/api/sankey_demo_basics.py
0 commit comments