Render legend following Liskov Substitution Works with any backend that implements plot_context interface
legend_t