+
+ # Merge the user's legend options with mine. The ones passed to us
+ # should override the defaults!
+ default_legend_opts = { 'back_color': 'white',
+ 'shadow': True }
+ default_legend_opts.update(p._Graphics__legend_opts)
+ p._Graphics__legend_opts = default_legend_opts
+