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

Skip to content

Commit 9f3e17a

Browse files
dkweiss31jklymak
andauthored
Update galleries/examples/subplots_axes_and_figures/secondary_axis.py
Kill unhelpful comment Co-authored-by: Jody Klymak <[email protected]>
1 parent 724cd88 commit 9f3e17a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

galleries/examples/subplots_axes_and_figures/secondary_axis.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ def one_over(x):
111111
fig, ax = plt.subplots(layout='constrained')
112112
x1_vals = np.arange(2, 11, 0.4)
113113
# 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.
116114
x2_vals = x1_vals ** 2
117115
ydata = 50.0 + 20 * np.random.randn(len(x1_vals))
118116
ax.plot(x1_vals, ydata, label='Plotted data')

0 commit comments

Comments
 (0)