Skip to content

Commit 9643697

Browse files
committed
remove unknown method
1 parent aa82bbc commit 9643697

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/06_grid_manipulation/pet_lavd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
def start_ax(title="", dpi=90):
3131
fig = plt.figure(figsize=(16, 9), dpi=dpi)
3232
ax = fig.add_axes([0, 0, 1, 1], projection="full_axes")
33-
ax.set_xlim(0, 32), ax.set_ylim(28, 46), ax.update_env()
33+
ax.set_xlim(0, 32), ax.set_ylim(28, 46)
3434
ax.set_title(title)
3535
return fig, ax, ax.text(3, 32, "", fontsize=20)
3636

notebooks/python_module/06_grid_manipulation/pet_lavd.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"outputs": [],
3939
"source": [
40-
"def start_ax(title=\"\", dpi=90):\n fig = plt.figure(figsize=(16, 9), dpi=dpi)\n ax = fig.add_axes([0, 0, 1, 1], projection=\"full_axes\")\n ax.set_xlim(0, 32), ax.set_ylim(28, 46), ax.update_env()\n ax.set_title(title)\n return fig, ax, ax.text(3, 32, \"\", fontsize=20)\n\n\ndef update_axes(ax, mappable=None):\n ax.grid()\n if mappable:\n cb = plt.colorbar(\n mappable,\n cax=ax.figure.add_axes([0.05, 0.1, 0.9, 0.01]),\n orientation=\"horizontal\",\n )\n cb.set_label(\"Vorticity integration along trajectory at initial position\")\n\n\nkw_vorticity = dict(vmin=0, vmax=2e-5, cmap=\"viridis\")"
40+
"def start_ax(title=\"\", dpi=90):\n fig = plt.figure(figsize=(16, 9), dpi=dpi)\n ax = fig.add_axes([0, 0, 1, 1], projection=\"full_axes\")\n ax.set_xlim(0, 32), ax.set_ylim(28, 46)\n ax.set_title(title)\n return fig, ax, ax.text(3, 32, \"\", fontsize=20)\n\n\ndef update_axes(ax, mappable=None):\n ax.grid()\n if mappable:\n cb = plt.colorbar(\n mappable,\n cax=ax.figure.add_axes([0.05, 0.1, 0.9, 0.01]),\n orientation=\"horizontal\",\n )\n cb.set_label(\"Vorticity integration along trajectory at initial position\")\n\n\nkw_vorticity = dict(vmin=0, vmax=2e-5, cmap=\"viridis\")"
4141
]
4242
},
4343
{

0 commit comments

Comments
 (0)