Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9f3e17a

Browse filesBrowse files
dkweiss31jklymak
andauthored
Update galleries/examples/subplots_axes_and_figures/secondary_axis.py
Kill unhelpful comment Co-authored-by: Jody Klymak <jklymak@gmail.com>
1 parent 724cd88 commit 9f3e17a
Copy full SHA for 9f3e17a

File tree

Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed

‎galleries/examples/subplots_axes_and_figures/secondary_axis.py

Copy file name to clipboardExpand all lines: galleries/examples/subplots_axes_and_figures/secondary_axis.py
-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.