Skip to content
Snippets Groups Projects
Commit cf105012 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Use OO-style

parent 2add610a
No related branches found
No related tags found
No related merge requests found
......@@ -75,14 +75,14 @@ with netCDF4.Dataset(args.input_file) as f:
vgos[lat_mask][:, lon_mask],
scale = args.scale, scale_units = "width",
transform = src_crs)
plt.quiverkey(quiver_return, 0.9, 0.9, 1, r"1 m s$^{-1}$",
coordinates = "figure")
ax.quiverkey(quiver_return, 0.9, 0.9, 1, r"1 m s$^{-1}$",
coordinates = "figure")
ax.gridlines(draw_labels = True)
ax.coastlines()
if args.save:
plt.savefig(f"plot_velocity.{args.save}")
fig.savefig(f"plot_velocity.{args.save}")
print(f'Created "plot_velocity.{args.save}".')
else:
plt.show()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment