Give `showlegend` boolean value directly

The default is to show the legend.

This change does not affect the plots.
As of now, this change affects the JSON and the return of `get_figure()`, which now have `layout$showlegend` equal to `TRUE` when previously unspecified.  But this is the intended default anyway.