@@ -170,7 +170,7 @@ def main(
170170 for i , y in enumerate ((bw_wave_period_sec , mon_wave_period_sec )):
171171 ax_period .plot (times , y , label = labels [i ], color = colors [i ]) # type: ignore[arg-type]
172172
173- ax_period .set_ylabel ("Primary wave period (sec)" )
173+ ax_period .set_ylabel ("Peak wave period (sec)" )
174174 ax_period .yaxis .label .set_fontsize (14 )
175175 ax_period .xaxis .set_ticks_position ("bottom" )
176176 ax_period .legend (loc = "upper right" )
@@ -248,7 +248,8 @@ def main(
248248 ax_mon .set_title ("Pt. Lobos & Monastery" )
249249
250250 plt .tight_layout ()
251- plt .colorbar (map_main .img , orientation = "vertical" , label = "(ft)" , shrink = 0.8 )
251+ cbar = plt .colorbar (map_main .img , orientation = "vertical" , shrink = 0.8 )
252+ cbar .set_label ("ft" , rotation = 0 )
252253
253254 LOG .info ("Creating colormap frames" )
254255 plot_dir = out_dir / "plots"
@@ -262,7 +263,7 @@ def main(
262263 map_mon .update (hour_i )
263264
264265 ax_main .set_title (
265- f"Significant wave height (ft) and primary wave direction\n Hour { hour_i :03} -- { pacific_time_str } "
266+ f"Significant wave height (ft) and peak wave direction\n Hour { hour_i :03} { pacific_time_str } "
266267 )
267268 savefig (plot_dir / f"{ hour_i } .png" )
268269
0 commit comments