Skip to content

Commit e768c57

Browse files
committed
DOC: change marginal scatter plot to subplot_mosaic
1 parent 792c28a commit e768c57

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

galleries/examples/lines_bars_and_markers/scatter_hist.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ def scatter_hist(x, y, ax, ax_histx, ax_histy):
104104
#
105105
# While we recommend using one of the two methods described above, there are
106106
# number of other ways to achieve a similar layout:
107+
#
107108
# - The Axes can be positioned manually in relative coordinates using
108109
# `~matplotlib.figure.Figure.add_axes`.
109110
# - A gridspec can be used to create the layout
@@ -120,7 +121,8 @@ def scatter_hist(x, y, ax, ax_histx, ax_histy):
120121
# in this example:
121122
#
122123
# - `matplotlib.figure.Figure.subplot_mosaic`
123-
# - `matplotlib.figure.Figure.add_gridspec`
124+
# - `matplotlib.pyplot.subplot_mosaic`
125+
# - `matplotlib.figure.Figure.add_subplot`
124126
# - `matplotlib.axes.Axes.inset_axes`
125127
# - `matplotlib.axes.Axes.scatter`
126128
# - `matplotlib.axes.Axes.hist`

0 commit comments

Comments
 (0)