- # After trac #12936, this should propagate those options.
- p += sage_plot(*args, **kwargs)
+ return p
+
+
+def mjo_list_plot(*args, **kwargs):
+ """
+ Replacement for the default list_plot function.
+
+ - If there's a legend, set the background color to 'white' and
+ give it a drop shadow.
+
+ """
+ default_legend_opts = { 'back_color': 'white',
+ 'shadow': True }
+
+ p = list_plot_impl(*args, **kwargs)
+ p.set_legend_options(**default_legend_opts)