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

Skip to content

Commit 15a1874

Browse files
committed
DOC added links between the barh documentation and the bar documentation
1 parent a3a0088 commit 15a1874

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1794,6 +1794,13 @@ def bar(self, left, height, width=0.8, bottom=None, **kwargs):
17941794
17951795
%(Rectangle)s
17961796
1797+
See also
1798+
--------
1799+
barh: Plot a horizontal bar plot.
1800+
1801+
Example
1802+
-------
1803+
17971804
**Example:** A stacked bar chart.
17981805
17991806
.. plot:: mpl_examples/pylab_examples/bar_stacked.py
@@ -2085,6 +2092,9 @@ def barh(self, bottom, width, height=0.8, left=None, **kwargs):
20852092
20862093
%(Rectangle)s
20872094
2095+
See also
2096+
--------
2097+
bar: Plot a vertical bar plot.
20882098
"""
20892099

20902100
patches = self.bar(left=left, height=height, width=width,

0 commit comments

Comments
 (0)