We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 724cd88 commit 9f3e17aCopy full SHA for 9f3e17a
galleries/examples/subplots_axes_and_figures/secondary_axis.py
@@ -111,8 +111,6 @@ def one_over(x):
111
fig, ax = plt.subplots(layout='constrained')
112
x1_vals = np.arange(2, 11, 0.4)
113
# second independent variable is a nonlinear function of the other.
114
-# this simple example can be more easily handled without interpolation, and is done
115
-# this way only for pedagogical purposes.
116
x2_vals = x1_vals ** 2
117
ydata = 50.0 + 20 * np.random.randn(len(x1_vals))
118
ax.plot(x1_vals, ydata, label='Plotted data')
0 commit comments