Skip to content

Commit

Permalink
Fix missing y_topo_max variable in live notebook (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
santisoler authored Jan 31, 2024
1 parent 3939680 commit 87a68ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions live/01-forward-dc-resistivity-2d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,10 @@
"fig = plt.figure(figsize=(8, 4))\n",
"\n",
"ax1 = fig.add_axes([0.14, 0.17, 0.8, 0.7])\n",
"mesh.plot_grid(ax=ax1, linewidth=1)\n",
"mesh.plot_grid(ax=ax1, linewidth=0.75)\n",
"ax1.grid(False)\n",
"ax1.set_xlim(-200, 200)\n",
"ax1.set_ylim(y_topo_max - 200, y_topo_max)\n",
"ax1.set_ylim(np.max(y_topo) - 200, np.max(y_topo))\n",
"ax1.set_title(\"Mesh\")\n",
"ax1.set_xlabel(\"x (m)\")\n",
"ax1.set_ylabel(\"y (m)\")\n",
Expand Down

0 comments on commit 87a68ff

Please sign in to comment.