Skip to content

Commit

Permalink
typos fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Oct 24, 2017
1 parent 6e8a390 commit 4513721
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions examples/cfd/02_convection_nonlinear.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
"u = TimeFunction(name='u', grid=grid)\n",
"init_hat(field=u.data[0], dx=dx, dy=dy, value=2.)\n",
"\n",
"v = TimeFunction(name='u', grid=grid)\n",
"v = TimeFunction(name='v', grid=grid)\n",
"init_hat(field=v.data[0], dx=dx, dy=dy, value=2.)\n",
"\n",
"plot_field(u.data[0])"
Expand Down Expand Up @@ -340,7 +340,7 @@
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"version": 3.0
},
"file_extension": ".py",
"mimetype": "text/x-python",
Expand All @@ -355,5 +355,5 @@
}
},
"nbformat": 4,
"nbformat_minor": 1
}
"nbformat_minor": 0
}
1 change: 0 additions & 1 deletion examples/seismic/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ def plot_shotrecord(rec, model, t0, tn, colorbar=True):
divider = make_axes_locatable(ax)
cax = divider.append_axes("right", size="5%", pad=0.05)
cbar = plt.colorbar(plot, cax=cax)
cbar.set_label('Velocity (km/s)')

plt.show()

Expand Down

0 comments on commit 4513721

Please sign in to comment.