Skip to content

Commit 124bbf2

Browse files
authored
Merge pull request #9854 from anntzer/dviread-take-2
Exclude dviread.Text from the documentation.
2 parents 3b55a8a + 8ea94c5 commit 124bbf2

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

doc/api/dviread.rst

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
****************
1+
*******
22
dviread
3-
****************
3+
*******
44

55
:mod:`matplotlib.dviread`
66
=========================
77

88
.. automodule:: matplotlib.dviread
99
:members:
1010
:undoc-members:
11-
:exclude-members: Dvi
12-
:show-inheritance:
13-
14-
.. autoclass:: matplotlib.dviread.Dvi
15-
:members: __iter__,close
11+
:exclude-members: Page, Text, Box
1612
:show-inheritance:

tutorials/text/text_intro.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
`~.pyplot.suptitle` `~.Figure.suptitle` Add a title to the `~.Figure`.
5757
=================== =================== ======================================
5858
59-
All of these functions create and return a `~.text.Text` instance, which can
60-
be configured with a variety of font and other properties. The example below
59+
All of these functions create and return a `~.Text` instance, which can be
60+
configured with a variety of font and other properties. The example below
6161
shows all of these commands in action, and more detail is provided in the
6262
sections that follow.
6363
"""
@@ -145,11 +145,11 @@
145145
plt.show()
146146

147147
###############################################################################
148-
# Or, the labels accept all the `~matplotlib.text.Text` keyword arguments,
149-
# including *position*, via which we can manually specify the label positions.
150-
# Here we put the xlabel to the far left of the axis. Note, that the
151-
# y-coordinate of this position has no effect - to adjust the y-position we
152-
# need to use the *labelpad* kwarg.
148+
# Or, the labels accept all the `~.Text` keyword arguments, including
149+
# *position*, via which we can manually specify the label positions. Here we
150+
# put the xlabel to the far left of the axis. Note, that the y-coordinate of
151+
# this position has no effect - to adjust the y-position we need to use the
152+
# *labelpad* kwarg.
153153

154154
fig, ax = plt.subplots(figsize=(5, 3))
155155
fig.subplots_adjust(bottom=0.15, left=0.2)

0 commit comments

Comments
 (0)