answered 10 years ago
Use the function set_legend_options as follows:
g = plot(sin, 0, pi, legend_label='$sin(x)$', fontsize=28) g.set_legend_options(font_size=28) show(g)