I set skip_if_empty to False. I listed the plots in plot_groups in weewx.conf if and only if I wanted to see them (even if empty). This did not work. It generated the plots for wind (even though there was no data). That is what I wanted. However the index.html.tmpl did not recognize the skip_if_empty = False i.e. it still skipped the plot because it had not changed.
I made this change to index.html.tmpl in the skin (I customized it) and it worked:
#for plot_group in $plot_groups
#set $show_plot = 0
#*
The plot name is just the concatenation of the period and the plot group.
For example, 'year' + 'tempdew' yields 'yeartempdew'.
*#
#set $plot_name = $period + $plot_group
#for obs in $getobs($plot_name)
#* garberw commented out to always show plot e.g. not skip_if_empty
#if $recent.check_for_data($obs)
*#
#set $show_plot = 1
#* garberw commented out to always show plot e.g. not skip_if_empty
#end if
*#
#end for
#if $show_plot
<img src="${plot_name}.png" alt="${plot_name}"/>
#end if
#end for
but this is not ideal.